~vcs-imports/findutils/trunk

Viewing all changes in revision 1854.

  • Committer: James Youngman
  • Date: 2011-05-14 23:22:39 UTC
  • Revision ID: git-v1:dc3920672cd0de5249c31302c62e02ebb838c6d3
Fix bug #14386: updatedb relies on mktemp, which is not portable.

* locate/updatedb.sh (make_tempdir): new function, works around
the possible absence of mktemp.  We now create the file list and
the bigrams file in a temporary directory.  Also add some quoting
for a few shell variables.  Update the copyright years.
* locate/testsuite/locate.gnu/oldformat.exp: Add a test case which
uses the old database format, in order to exercise our mktemp
replacement.
* locate/testsuite/Makefile.am (EXTRA_DIST_EXP): Ship this new
file.
* locate/testsuite/locate.gnu/oldformat.xo: The expected output
for the new test.
* locate/testsuite/Makefile.am (EXTRA_DIST_XO): Ship this new
file.
* NEWS: Mention this bugfix.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: