Subject: CVS commit: src/usr.bin/locate/locate
To: None <source-changes@netbsd.org>
From: Perry E. Metzger <perry@netbsd.org>
List: source-changes
Date: 04/05/2003 19:36:39
Module Name:	src
Committed By:	perry
Date:		Sat Apr  5 16:36:39 UTC 2003

Modified Files:
	src/usr.bin/locate/locate: locate.c

Log Message:
1) print an error and exit if fed a directory as a database
   Patch submitted by Soren Jacobsen in PR bin/21016, but
   heavily edited by me.
2) error and exit out if you can't open a database instead of just
   warning and going on.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/usr.bin/locate/locate/locate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.