🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #6783

Re: trn-3.4 freeze-ups

#6783
From: Wayne Davison
Date: Fri, 03 Dec 1993 19:36
37 lines
1692 bytes
According to Alan Coopersmith <alanc@ocf.berkeley.edu>:
> I never saw it leave inc_art

Try this patch on for size and see if it stops hanging.

Index:rthread.c
@@ -242,4 +242,6 @@
 	if (!sp)
 	    goto num_inc;
+	if (sel_mode == SM_THREAD && sp->thread)
+	    sp = sp->thread->subj;
 	do {
 	    if (ap)
@@ -248,6 +250,4 @@
 		ap = first_art(sp);
 	    while (!ap) {
-		if (sel_mode == SM_THREAD && sp->thread)
-		    sp = sp->thread->subj;
 		while ((sp = sp->next) != Nullsubj
 		    && (sp->flags & subj_mask) != subj_mask)
@@ -336,4 +336,6 @@
 	if (!sp)
 	    goto num_dec;
+	if (sel_mode == SM_THREAD && sp->thread)
+	    sp = sp->thread->subj;
 	do {
 	    if (ap)
@@ -342,6 +344,4 @@
 		ap = last_art(sp);
 	    while (!ap) {
-		if (sel_mode == SM_THREAD && sp->thread)
-		    sp = sp->thread->subj;
 		while ((sp = sp->prev) != Nullsubj
 		    && (sp->flags & subj_mask) != subj_mask)
-- 
Wayne Davison
davison@borland.com
Technical Details
Message-ID: <CHH55K.In3@borland.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison
References: <CHCBBM.C0y@borland.com> <9312021723.AA21878@pcdoh.pgh.wec.com> <2dle2g$n9h@soc2.pop.psu.edu> <2dmjpt$dae@agate.berkeley.edu>

Show Full Headers
Complete Article Headers
Message-ID: <CHH55K.In3@borland.com>
Subject: Re: trn-3.4 freeze-ups
Date: Fri, 3 Dec 1993 19:36:55 GMT
From: davison@borland.com (Wayne Davison)
References: <CHCBBM.C0y@borland.com> <9312021723.AA21878@pcdoh.pgh.wec.com> <2dle2g$n9h@soc2.pop.psu.edu> <2dmjpt$dae@agate.berkeley.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison
Newsgroups: news.software.readers
Organization: Borland International
Lines: 37