~vcs-imports/findutils/trunk

« back to all changes in this revision

Viewing changes to ChangeLog

  • 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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2011-05-15  James Youngman  <jay@gnu.org>
 
2
 
 
3
        Fix bug #14386: updatedb relies on mktemp, which is not portable.
 
4
        * locate/updatedb.sh (make_tempdir): new function, works around
 
5
        the possible absence of mktemp.  We now create the file list and
 
6
        the bigrams file in a temporary directory.  Also add some quoting
 
7
        for a few shell variables.  Update the copyright years.
 
8
        * locate/testsuite/locate.gnu/oldformat.exp: Add a test case which
 
9
        uses the old database format, in order to exercise our mktemp
 
10
        replacement.
 
11
        * locate/testsuite/Makefile.am (EXTRA_DIST_EXP): Ship this new
 
12
        file.
 
13
        * locate/testsuite/locate.gnu/oldformat.xo: The expected output
 
14
        for the new test.
 
15
        * locate/testsuite/Makefile.am (EXTRA_DIST_XO): Ship this new
 
16
        file.
 
17
        * NEWS: Mention this bugfix.
 
18
 
1
19
2011-05-14  James Youngman  <jay@gnu.org>
2
20
 
3
21
        Fix bug #32043 (fnmatch should treat unquoted [ literally).