🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: NET.general
Article #75

newspurge bug fix

#75
From: researchgod
Date: Sat, 12 Sep 1981 18:36
39 lines
1001 bytes
To: NET.general
Subject: newspurge fix
Awhile ago a program newspurge was announced, and has been very useful.
Some small bugs in the handling of the argument list were found and fixed
on the research machine here at BTL; I thought that I'd post them.
Excuse me if the bugs were reported and fixed, and I missed them.

--Steve Hartwell-- [research!god, csvax.god@Berkeley]

diff oldnewspurge.c newnewspurge.c

34c34
< 	while (**argv)
---
> 	while (argc>1)
39c39
< 		    for(++argv;**argv;++argv)
---
> 		    for(++argv;argc>1;++argv)
44a45
> 			--argc;
47a49,50
> 		    if (argc<=1)
> 			break;
49a53
> 		    --argc;
59a64
> 	    --argc;
105,106c110
< 	for(i=npurge-1;i>=0;i--)
< #ifdef debug
---
> 	for(i=npurge-1;i>=0;i--) {
108d111
< #else
110c113
< #endif
---
>	}
Technical Details
Message-ID: <anews.Aresearch.27>
Path: arc1-ca.pugleaf.net!utzoo!decvax!ucbvax!mhtsa!research!god

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!decvax!ucbvax!mhtsa!research!god
From: research!god
Newsgroups: NET.general
Subject: newspurge bug fix
Date: Sat, 12 Sep 1981 18:36:59 +0000
Message-ID: <anews.Aresearch.27>