Hi,
If the creation of temporary files fails, the error message states that
'tempfile failed'. The attached patch fixes it so it correctly references
`mktemp', which is the actual binary that is used. Yes, I know this is a
really minor nitpick :)
Regards,
Matt.
Submitted By: Matt Burgess <matthew at linuxfromscratch dot org>
Date: 2007-10-18
Initial Package Version: 4.2.31
Upstream status: Submitted
Description: Changes the output of error messages in updatedb.sh which
reference tempfile when the binary that was called was mktemp
diff -Naur findutils-4.2.31.orig/locate/updatedb.sh findutils-4.2.31/locate/updatedb.sh
--- findutils-4.2.31.orig/locate/updatedb.sh 2007-04-22 18:41:11.000000000 +0000
+++ findutils-4.2.31/locate/updatedb.sh 2007-10-18 21:40:56.000000000 +0000
@@ -245,12 +245,12 @@
else # old
if ! bigrams=`mktemp -t updatedbXXXXXXXXX`; then
- echo tempfile failed
+ echo mktemp failed
exit 1
fi
if ! filelist=`mktemp -t updatedbXXXXXXXXX`; then
- echo tempfile failed
+ echo mktemp failed
exit 1
fi