CSS/Harvard 2.9BSD bug report #9

Keith Bostic keith at seismo.CSS.GOV
Wed Oct 9 11:55:55 AEST 1985


Subject: Find doesn't work
Index:	src/usr.bin/find.c 2.9BSD

Description:
	Find doesn't read directories correctly.
Repeat-By:
	Run it on anything.
Fix:
	Find doesn't work because it was never converted to use the new
	directory reading routines.  There are three ways to fix it;
	port a version from 4.X (it's a fairly easy port), put
		#define KERNEL
		#include <sys/dir.h>
		#undef KERNEL
	around the dir.h include in find.c, or replace the directory
	reading stuff with opendir, readdir, etc.

	There may be several of these programs floating around that
	haven't been converted.  The fix is the same for all of them.



More information about the Comp.bugs.2bsd mailing list