lew@gsg.UUCP (07/09/87)
Index: /usr/src/usr.bin/find/find.c (4.3BSD) Description: Local variable used without initialization. This will work for Vax (local variables will be zeroed first), may not work on different machines. Repeat-By: Use updatedb.csh to generate a bigram database and the command: "find pattern" will fail for all pattern. Fix: Apply the following diff to the source. Line numbers may be off because of other local changes. *** find.c.orig Thu Jul 9 12:07:00 1987 --- find.c.new Thu Jul 9 12:12:53 1987 *************** *** 833,839 register char *p, *s; register int c; char *q, *index(), *patprep(); ! int i, count = 0, globflag; FILE *fp, *fopen(); char *patend, *cutoff; char path[1024]; --- 833,839 ----- register char *p, *s; register int c; char *q, *index(), *patprep(); ! int i, count = 0, globflag = NO; FILE *fp, *fopen(); char *patend, *cutoff; char path[1024]; -- ---------------------------------------------------------------------- Paul Lew {olivea,harvard,decvax}!gsg!lew (UUCP) General Systems Group, 51 Main Street, Salem, NH 03079 (603) 893-1000