Aresearch.27 NET.general utzoo!decvax!ucbvax!mhtsa!research!god Sat Sep 12 18:36:59 1981 newspurge bug fix 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 --- > }