Subject: CVS commit: src/usr.bin/locate/locate
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 02/26/2006 03:00:16
Module Name:	src
Committed By:	dyoung
Date:		Sun Feb 26 03:00:16 UTC 2006

Modified Files:
	src/usr.bin/locate/locate: updatedb.sh

Log Message:
This patch removes one possible cause for a prolonged "out of disk"
condition on /tmp/:  if creating the file list ($FILELIST) fails,
immediately exit with a non-zero result code.  This fixes a bug
where, if the file list filled /tmp/, updatedb.sh would nevertheless
run for several minutes before it removed the file list as it quit.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/usr.bin/locate/locate/updatedb.sh

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