canonicalize: fix references to stat() and lstat()
[gnulib.git] / ChangeLog
index 6c2a807..ff9c84a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,186 @@
+2011-12-30  Pádraig Brady  <P@draigBrady.com>
+
+       canonicalize: fix references to stat() and lstat()
+       * lib/canonicalize.c (canonicalize_filename_mode):
+       Ensure references always resolve to a replacement
+       function if required (even via a macro).
+
+2011-12-30  Jim Meyering  <meyering@redhat.com>
+
+       gitlog-to-changelog: remove a little duplication
+       * build-aux/gitlog-to-changelog (main): Grep @lines once,
+       rather than twice.
+
+2011-12-29  Pádraig Brady  <P@draigBrady.com>
+
+       canonicalize: add support for not resolving symlinks
+       * lib/canonicalize.h: Add the CAN_NOLINKS flag to
+       indicate we don't want to follow symlinks.  Also
+       provide CAN_MODE_MASK to aid setting these existing
+       mutually exclusive values.
+       * lib/canonicalize.c (canonicalize_filename_mode):
+       Extract the flags from can_mode parameter, which
+       are currently just used to select between stat()
+       and lstat().  Also ensure that mutually exclusive
+       values are flagged immediately as invalid.
+       * tests/test-canonicalize.c: Verify symlinks are
+       not followed, and that invalid flag combinations
+       are diagnosed.
+
+2011-12-25  Jim Meyering  <meyering@redhat.com>
+
+       gitlog-to-changelog: do not clump multi-paragraph entries
+       Identical header lines (date,name,email+coauthors) are suppressed,
+       thus putting all entries with those same characteristics under
+       a single header.  However, when a log entry consists of two or
+       more paragraphs, it may not be clear where it starts and ends.
+       This change makes it so that such an entry is always separated
+       from others by a header line, even when that header would
+       otherwise be suppressed.
+       * build-aux/gitlog-to-changelog: Implement the above.
+       Inspired by a related request from Stefano Lattarini in
+       http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/29456
+
+2011-12-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       announce-gen: fix `cmd' typo in diagnostic
+       * build-aux/announce-gen (print_changelog_deltas): Fix typo in
+       diagnostic: a missing '$' meant that the command was not output.
+
+2011-12-23  Jim Meyering  <meyering@redhat.com>
+
+       test-framework-sh: distribute init.sh
+       * modules/test-framework-sh (EXTRA_DIST): Append init.sh.
+       Otherwise, "make -C gnulib-tests check" (at least in grep) would
+       fail due to the lack of init.sh.
+
+       maint: remove explicit Files: tests/init.sh; depend on test-framework-sh
+       * modules/atexit-tests: Rather than listing tests/init.sh,
+       now that there's a module for it, simply depend on that new module.
+       * modules/closein-tests: Likewise.
+       * modules/exclude-tests: Likewise.
+       * modules/getcwd-tests: Likewise.
+       * modules/perror-tests: Likewise.
+       * modules/pread-tests: Likewise.
+       * modules/pwrite-tests: Likewise.
+       * modules/vc-list-files-tests: Likewise.
+       * modules/verify-tests: Likewise.
+       * modules/xalloc-die-tests: Likewise.
+       * modules/xstrtoimax-tests: Likewise.
+       * modules/xstrtol-tests: Likewise.
+       * modules/xstrtoll-tests: Likewise.
+       * modules/xstrtoumax-tests: Likewise.
+       * modules/yesno-tests: Likewise.
+
+2011-12-22  Jim Meyering  <meyering@redhat.com>
+
+       test-framework-sh: add minimal tests of init.sh's compare function
+       * modules/test-framework-sh-tests: New file.
+       * tests/test-init.sh: New file.
+
+       test-framework-sh: new module
+       * modules/test-framework-sh: New file.
+       * MODULES.html.sh (Support for maintaining and releasing projects):
+       List it.
+
+       init.sh: do not emit simulated diff output to stderr
+       * tests/init.sh (compare_dev_null_): Print to stdout, not stderr.
+
+2011-12-22  Reuben Thomas  <rrt@sc3d.org>
+
+       .gitignore: ignore gnulib.dvi and regex.info
+       * doc/.gitignore:add gnulib.dvi and regex.info
+
+2011-12-22  Jim Meyering  <meyering@redhat.com>
+
+       init.sh: correct previous change
+       * tests/init.sh (compare): My previous change was wrong.
+       Don't clobber "$?".  Spotted by Stefano Lattarini and Pádraig Brady.
+
+       init.sh: avoid unwarranted test failure when using "set -e"
+       * tests/init.sh (compare): Ignore nonzero exit from compare_dev_null_.
+       Otherwise, in a test script that uses "set -e" (like many in vc-dwim)
+       a use like "compare exp out" would get evoke an unconditional failure.
+
+2011-12-21  Alfred M. Szmidt  <ams@gnu.org>
+
+       bootstrap: fix it to honor $ACLOCAL_FLAGS once again
+       The 2011-12-17 change, commit 767ccd40, replaced a manual invocation
+       of aclocal that used explicit $ACLOCAL_FLAGS with an invocation of
+       autoreconf that did not.
+       * build-aux/bootstrap: Use $ACLOCAL_FLAGS when invoking autoreconf.
+       Reported by Mats Erik Andersson <gnu@gisladisker.se>.
+
+2011-12-17  Jim Meyering  <meyering@redhat.com>
+
+       bootstrap: remove some now-unneeded code
+       This script arose back when gnulib-tool was young.
+       Since then, it has seen improvements that render much of this
+       script unnecessary.  In particular, it can now make symlinks
+       to the files it uses.  Also, I no longer see as much value in
+       marking files as read-only via comments.
+       If you relied on the symlink-creation feature of the preceding
+       version of this script, you can get most of that functionality
+       by adding the --symlink option to the definition of
+       gnulib_tool_option_extras in your bootstrap.conf file.
+       * build-aux/bootstrap (AUTOPOINT, AUTORECONF): Factor out definitions.
+       Run autopoint and libtoolize *before* gnulib-tool.
+       After it, run an abbreviated autoreconf, rather than a loop around
+       all tools.
+       (slirp, bt_mark_as_generated): Remove functions.
+
+2011-12-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       ftoastr: fix typo
+       * lib/ftoastr.h: Fix misspelling in comment.
+
+2011-12-18  Reuben Thomas  <rrt@sc3d.org>
+
+       * top/README-release: fix punctuation.
+
+2011-12-17  Jim Meyering  <meyering@redhat.com>
+
+       bootstrap: correct the recent buildreq change
+       The 2011-12-07 commit, 39f5f1e4, omitted some '*'s, and thus
+       had no effect.
+       * build-aux/bootstrap (buildreq): Bracket each search term with
+       "*...*", so that the shell "case" statement works as intended.
+       Add comments.
+
+2011-12-17  Bernhard Voelker  <mail@bernhard-voelker.de>
+
+       build: let bootstrap resort to wget when downloading .po files
+       * build-aux/bootstrap (download_po_files): Fallback to wget when
+       downloading the .po files via rsync fails.  This is necessary to
+       bootstrap from behind a strict firewall.
+
+2011-12-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       stdint: don't assume C++11 when compiling with g++
+       Problem reported for glibc 2.14 and g++ by Alexander V. Lukyanov in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-12/msg00099.html>.
+       * m4/stdint.m4 (gl_STDINT_H): Don't go to extra work to make it
+       work also in C++ before C++11, as that improperly inhibits
+       generating a substitute stdint.h for that case.
+
+2011-12-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       alloca: protect comment from gnulib-tool
+       * lib/alloca.c: Change "GCC version 2" to "GCC 2" in comment, so
+       that gnulib-tool doesn't think it's a license, and munge it to
+       say "GCC version 3".
+
+2011-12-15  Ludovic Courtès  <ludo@gnu.org>  (tiny change)
+
+       localcharset: Use an absolute path in TESTS_ENVIRONMENT.
+       * modules/localcharset (LOCALCHARSET_TESTS_ENVIRONMENT): Use
+       $(abs_top_builddir) instead of $(top_builddir).
+
+2011-12-14  Alex Nelson  <ajnelson@cs.ucsc.edu>  (tiny change)
+
+       strftime-tests: also test nanoseconds
+       * tests/test-strftime.c (T): Add a test of %N.
+
 2011-12-13  Paul Eggert  <eggert@cs.ucla.edu>
 
        inttypes, stdint: add C++11 support