🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by researchgod Sat, 12 Sep 1981 18:36
newspurge bug fix
#75
Author: 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
---
>	}
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