Thread View: news.software.readers
2 messages
2 total messages
Started by Ehud Reshef
Thu, 04 Jul 1991 21:43
Xrn 6.15 catching signals on SunOs 4.1.1
Author: Ehud Reshef
Date: Thu, 04 Jul 1991 21:43
Date: Thu, 04 Jul 1991 21:43
13 lines
1184 bytes
1184 bytes
Hi. Is there a patch for Xrn 6-15 so that it will stop catching signals now and again and crash? it behaved just fine before we upgraded from 4.0.3 to 4.1.1. and it's constant crashing is rather annoying. -- ======================================================================== _ | Ehud Reshef | No good deed /_ /_ _ / | EDR @ Techunix .Bitnet | goes (___ / ) (_( (_/ | EDR @ Techunix .Technion.Ac.IL | unpunished.
Re: Xrn 6.15 catching signals on SunOs 4.1.1
Author: Mike Yang
Date: Sun, 07 Jul 1991 17:56
Date: Sun, 07 Jul 1991 17:56
33 lines
1855 bytes
1855 bytes
In article <10024@discus.technion.ac.il> edr%techunix.bitnet@lilac.berkeley.edu writes:
>Hi.
>Is there a patch for Xrn 6-15 so that it will stop catching signals
>now and again and crash?
>
>it behaved just fine before we upgraded from 4.0.3 to 4.1.1. and it's
>constant crashing is rather annoying.
Xrn 6.15 has a memory overrun problem. The following change fixes it:
*** ORIG/internals.c Tue Mar 5 13:01:43 1991
--- internals.c Wed May 1 10:48:27 1991
***************
*** 2592,2598 ****
if (avl_lookup(tree, curSub, &ptr)) {
/* add to the end */
pte = (struct entry *) ptr;
! if (lineLength > pte->left) {
/* grow the string */
pte->size += CHUNK;
pte->left += CHUNK;
--- 2592,2598 ----
if (avl_lookup(tree, curSub, &ptr)) {
/* add to the end */
pte = (struct entry *) ptr;
! if (lineLength >= pte->left) {
/* grow the string */
pte->size += CHUNK;
pte->left += CHUNK;
-----------------------------------------------------------------------
Mike Yang Silicon Graphics, Inc.
mikey@sgi.com 415/335-1786
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads