[net.bugs.2bsd] CSS/Harvard 2.9BSD bug report #9

keith@seismo.CSS.GOV (Keith Bostic) (10/09/85)

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.