+2012-01-05 Bruno Haible <bruno@clisp.org>
+
+ strtoimax: Don't force a replacement on systems where intmax_t is int.
+ * m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Use a different test if
+ 'intmax_t' is not larger than 'int'.
+ Reported by Pádraig Brady <P@draigBrady.com>.
+
+2012-01-05 Bruno Haible <bruno@clisp.org>
+
+ doc: Mention NetBSD bugs.
+ * doc/posix-functions/*printf.texi: Mention a NetBSD 5.1 bug.
+ * doc/posix-functions/nl_langinfo.texi: Mention another NetBSD 5.1 bug.
+
+2012-01-05 Bruno Haible <bruno@clisp.org>
+
+ strtoumax tests: Enhance tests.
+ * tests/test-strtoumax.c (main): Add tests for large values.
+
+2012-01-05 Bruno Haible <bruno@clisp.org>
+
+ strtoimax: Work around AIX 5.1 bug.
+ * lib/inttypes.in.h (strtoimax): Allow overriding the system's
+ definition.
+ * m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Check against the AIX 5.1 bug.
+ Set HAVE_STRTOIMAX.
+ * m4/inttypes.m4 (gl_INTTYPES_H_DEFAULTS): Initialize
+ REPLACE_STRTOIMAX.
+ * modules/inttypes-incomplete (Makefile.am): Substitute
+ REPLACE_STRTOIMAX.
+ * modules/strtoimax (Files): Add m4/stdint_h.m4, m4/inttypes_h.m4.
+ (configure.ac): Test HAVE_STRTOIMAX, REPLACE_STRTOIMAX.
+ (Depends-on): Update conditions.
+ * tests/test-strtoimax.c (main): Add tests for large values.
+ * doc/posix-functions/strtoimax.texi: Mention the AIX 5.1 bug.
+
+2012-01-05 Bruno Haible <bruno@clisp.org>
+
+ inttypes: Modernize.
+ * lib/inttypes.in.h (strtoimax, strtoumax): Use the C++ safe idioms.
+ * modules/inttypes-incomplete (Depends-on): Add snippet/c++defs.
+ (Makefile.am): Update inttypes.h rule.
+
+2012-01-05 Jim Meyering <meyering@redhat.com>
+
+ init.sh: don't waste a subshell just to redirect stderr
+ * tests/init.sh: In testing for diff -u and diff -c, use a
+ stderr-redirecting exec inside `...` rather than a subshell.
+
+ test-init.sh: avoid failure on HP-UX 11.00
+ * tests/test-init.sh: Skip "diff -u"-comparing step when compare
+ resolves to diff -c or cmp. Reported by Bruno Haible.
+
+2012-01-05 Bruno Haible <bruno@clisp.org>
+
+ Tests for module 'strtoull'.
+ * modules/strtoull-tests: New file.
+ * tests/test-strtoull.c: New file, based on tests/test-strtoumax.c.
+
+2012-01-05 Bruno Haible <bruno@clisp.org>
+
+ Tests for module 'strtoll'.
+ * modules/strtoll-tests: New file.
+ * tests/test-strtoll.c: New file, based on tests/test-strtoimax.c.
+
+2012-01-05 Bruno Haible <bruno@clisp.org>
+
+ Tests for module 'strtoul'.
+ * modules/strtoul-tests: New file.
+ * tests/test-strtoul.c: New file, based on tests/test-strtoumax.c.
+
+2012-01-05 Bruno Haible <bruno@clisp.org>
+
+ Tests for module 'strtol'.
+ * modules/strtol-tests: New file.
+ * tests/test-strtol.c: New file, based on tests/test-strtoimax.c.
+
+2012-01-04 Jim Meyering <meyering@redhat.com>
+
+ test-init.sh: accommodate Solaris 5.10's different diff -u output
+ * tests/test-init.sh: Also exempt @@ lines from the comparison
+ of diff output, since Solaris 5.10 and GNU diff formats differ.
+ Reported by Stefano Lattarini.
+
+2012-01-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ test-posixtm: don't assume signed integer wraparound
+ * tests/test-posixtm.c (main): Don't assume wraparound semantics
+ after signed integer overflow. Inspired by (though it may not
+ fix) Bruno Haible's bug report in
+ <http://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00066.html>.
+
+ Spell out "Windows 9x" and "Windows XP".
+ * lib/poll.c, lib/select.c: In comments, replace "Win9x" with
+ "Windows 9x" and "WinXP" with "Windows XP".
+
+2012-01-04 Jim Meyering <meyering@redhat.com>
+
+ test-vc-list-files-cvs.sh: remove obsolete comment
+ * tests/test-vc-list-files-cvs.sh: Remove obsolete comment about
+ double exit. Now that's all encapsulated via skip_ and Exit.
+
+2012-01-04 Bruno Haible <bruno@clisp.org>
+
+ Talk about "native Windows API", not "Win32".
+ * lib/classpath.c: Update comments to mention native Windows.
+ * lib/csharpexec.c: Likewise.
+ * lib/dup2.c: Likewise.
+ * lib/error.c: Likewise.
+ * lib/fcntl.c: Likewise.
+ * lib/filename.h: Likewise.
+ * lib/findprog.c: Likewise.
+ * lib/get-rusage-as.c: Likewise.
+ * lib/get-rusage-data.c: Likewise.
+ * lib/getpagesize.c: Likewise.
+ * lib/javaexec.c: Likewise.
+ * lib/msvc-inval.c: Likewise.
+ * lib/msvc-nothrow.c: Likewise.
+ * lib/nanosleep.c: Likewise.
+ * lib/nonblocking.c: Likewise.
+ * lib/printf-parse.c: Likewise.
+ * lib/setlocale.c: Likewise.
+ * lib/sigaction.c: Likewise.
+ * lib/strerror_r.c: Likewise.
+ * lib/tmpdir.c: Likewise.
+ * lib/vasnprintf.c: Likewise.
+ * lib/w32spawn.h: Likewise.
+ * lib/waitpid.c: Likewise.
+ * lib/stdio.in.h (fdopen, fopen, freopen): Likewise.
+ * m4/locale-ar.m4: Likewise.
+ * m4/locale-fr.m4: Likewise.
+ * m4/locale-ja.m4: Likewise.
+ * m4/locale-tr.m4: Likewise.
+ * m4/locale-zh.m4: Likewise.
+ * m4/printf.m4: Likewise.
+ * tests/test-cloexec.c: Likewise.
+ * tests/test-copy-acl.sh: Likewise.
+ * tests/test-copy-file.sh: Likewise.
+ * tests/test-file-has-acl.sh: Likewise.
+ * tests/test-set-mode-acl.sh: Likewise.
+ * tests/test-dup-safer.c: Likewise.
+ * tests/test-dup2.c: Likewise.
+ * tests/test-dup3.c: Likewise.
+ * tests/test-fcntl.c: Likewise.
+ * tests/test-nonblocking-pipe.h: Likewise.
+ * tests/test-nonblocking-socket.h: Likewise.
+ * tests/test-pipe.c: Likewise.
+ * tests/test-pipe2.c: Likewise.
+ * tests/test-spawn-pipe-child.c: Likewise.
+ * doc/acl-resources.txt: Likewise.
+ * lib/getaddrinfo.c (WINDOWS_NATIVE): Renamed from WIN32_NATIVE.
+ * tests/test-poll.c (WINDOWS_NATIVE): Likewise.
+ * tests/test-select.h (WINDOWS_NATIVE): Likewise.
+ * lib/localcharset.c: Update comments to mention native Windows.
+ (WINDOWS_NATIVE): Renamed from WIN32_NATIVE.
+ * lib/localename.c: Likewise.
+ * lib/progreloc.c: Likewise.
+ * lib/relocatable.c: Likewise.
+ * lib/poll.c (WINDOWS_NATIVE): Renamed from WIN32_NATIVE.
+ (windows_compute_revents): Renamed from win32_compute_revents.
+ (windows_compute_revents_socket): Renamed from
+ win32_compute_revents_socket.
+ * lib/select.c: Update comments to mention native Windows.
+ (windows_poll_handle): Renamed from win32_poll_handle.
+ * m4/threadlib.m4: Update comments to mention native Windows.
+ (gl_THREADLIB_EARLY_BODY, gl_THREADLIB_BODY): Expect
+ --enable-threads=windows instead of --enable-threads=win32. Set
+ USE_WINDOWS_THREADS, not USE_WIN32_THREADS.
+ * lib/glthread/lock.h: Update comments to mention native Windows.
+ (USE_WINDOWS_THREADS): Renamed from USE_WIN32_THREADS.
+ * lib/glthread/lock.c (USE_WINDOWS_THREADS): Renamed from
+ USE_WIN32_THREADS.
+ * lib/glthread/cond.h (USE_WINDOWS_THREADS): Likewise.
+ * lib/glthread/cond.c (USE_WINDOWS_THREADS): Likewise.
+ * lib/glthread/thread.h (USE_WINDOWS_THREADS): Likewise.
+ * lib/glthread/thread.c (USE_WINDOWS_THREADS): Likewise.
+ * lib/glthread/tls.h (USE_WINDOWS_THREADS): Likewise.
+ * lib/glthread/tls.c (USE_WINDOWS_THREADS): Likewise.
+ * lib/glthread/yield.h (USE_WINDOWS_THREADS): Likewise.
+ * tests/test-cond.c (USE_WINDOWS_THREADS): Likewise.
+ * tests/test-thread_create.c (USE_WINDOWS_THREADS): Likewise.
+ * tests/test-lock.c (USE_WINDOWS_THREADS): Likewise.
+ (TEST_WINDOWS_THREADS): Renamed from TEST_WIN32_THREADS.
+ * tests/test-tls.c: Likewise.
+ Rationale:
+ Microsoft renamed the "Win32 API" to "Windows API", as it is available
+ on both 32-bit and 64-bit Windows systems.
+ But in gnulib, we treat Cygwin like a Unix platform, therefore the main
+ line of distinction is between "native Windows" on one side and Unix/
+ POSIX systems on the other side. More details in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00027.html>.
+ Suggested by Paul Eggert.
+
+2012-01-03 Bruno Haible <bruno@clisp.org>
+
+ isatty: Support for MSVC 9.
+ * doc/posix-functions/isatty.texi: Mention the MSVC problem.
+ * lib/isatty.c: Include <errno.h>, msvc-inval.h.
+ (_isatty_nothrow): New function.
+ (isatty): Use it instead of _isatty.
+ (IsConsoleHandle): Add comment, from Paolo Bonzini.
+ * lib/poll.c (IsConsoleHandle): Likewise.
+ * lib/select.c (IsConsoleHandle): Likewise.
+ * m4/isatty.m4 (gl_FUNC_ISATTY): Fix comment. Reported by Eli Zaretskii.
+ (gl_PREREQ_ISATTY): New macro.
+ * modules/isatty (Depends-on): Add msvc-inval.
+ (configure.ac): Invoke gl_PREREQ_ISATTY.
+
+2012-01-03 Jim Meyering <meyering@redhat.com>
+
+ maint.mk: remove temporary transition aid from over 1.5 years ago
+ * top/maint.mk (_prohibit_regexp): Remove definition whose sole
+ purpose was to aid in the transition (avoiding silent malfunction)
+ from that old name to the new _sc_search_regexp. This shim was
+ added by commit 219c504b.
+
+ init.sh: do not try to accommodate compare arguments starting with "-"
+ * tests/init.sh (compare_dev_null_): Do not try to accommodate
+ compare arguments that start with "-". Besides, we do not worry
+ about this when invoking diff or cmp; why start now with sed?
+ Using "--" to separate options from argument would trigger sed
+ failure in at least Solaris 7, HP-UX 11.00, IRIX 6.5, FreeBSD 6.4,
+ OpenBSD 4.9 and NetBSD 5.1. Reported by Bruno Haible.
+
+2012-01-02 Bruno Haible <bruno@clisp.org>
+
+ Enhance tests for module 'isatty'.
+ * modules/isatty-tests (Depends-on): Add pipe-posix.
+ * tests/test-isatty.c: Include <fcntl.h>.
+ (DEV_NULL): New macro.
+ (main): Test the resut of isatty() also on regular files, pipes, and
+ /dev/null.
+
+ New module 'isatty'.
+ * lib/unistd.in.h (isatty): New declaration.
+ * lib/isatty.c: New file, based on an idea of
+ Bastien Roucariès <roucaries.bastien@gmail.com>.
+ * m4/isatty.m4: New file.
+ * m4/unistd_h.m4 (gl_UNISTD_H): Test whether isatty is declared.
+ (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_ISATTY, REPLACE_ISATTY.
+ * modules/unistd (Makefile.am): Substitute GNULIB_ISATTY,
+ REPLACE_ISATTY.
+ * modules/isatty: New file.
+ * doc/posix-functions/isatty.texi: Mention the new module.
+ Suggested by Paolo Bonzini.
+
+2012-01-02 Bruno Haible <bruno@clisp.org>
+
+ canonicalize: Tweak 2011-12-29 commit.
+ * lib/canonicalize.c (canonicalize_filename_mode): Fix typo in comment.
+ * lib/canonicalize.h (canonicalize_filename_mode): Update specification.
+
+2012-01-02 Jim Meyering <meyering@redhat.com>
+
+ gitlog-to-changelog: describe input syntax in --help output
+ * build-aux/gitlog-to-changelog (usage) [SPECIAL SYNTAX]: New section.
+
+ gitlog-to-changelog: fix typo in --help: show backslash before email @
+ * build-aux/gitlog-to-changelog (usage): An "@" was backslash-escaped
+ in sources, but not in actual output.
+
+2011-12-30 Jim Meyering <meyering@redhat.com>
+
+ gitlog-to-changelog: don't malfunction when name contains %-directive
+ * build-aux/gitlog-to-changelog (main): Don't let a %-directive
+ in a name string cause trouble. E.g., with a user name of "%s",
+ gitlog-to-changelog would fail with "Missing argument in sprintf at..."
+
+2011-12-30 Gary V. Vaughan <gary@gnu.org>
+
+ gitlog-to-changelog: Copyright-paperwork-exempt: yes == (tiny change)
+ * build-aux/gitlog-to-changelog (main): Map the string, at beginning
+ of line in a git commit log, "Copyright-paperwork-exempt: yes", to
+ the " (tiny change)" notation that is appended to the standard
+ ChangeLog "date name email" header line.
+
+2012-01-01 Jim Meyering <meyering@redhat.com>
+
+ test-framework-sh: init.sh: fix "make dist" failure
+ When using gnulib-tool's --with-tests option and any module that
+ depends on test-framework-sh, "make dist" would fail due to the
+ lack of init.sh *in lib/*. The EXTRA_DIST += init.sh is required
+ in the gltests directory, and not in the gllib/ directory.
+ One way to work around that is to move the EXTRA_DIST += init.sh
+ from the primary module to the -tests one:
+ * modules/test-framework-sh-tests (EXTRA_DIST): Add init.sh here, ...
+ * modules/test-framework-sh (Makefile.am): ...not here.
+ Reported by Tom G. Christensen in
+ http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/29519
+
+ version-etc: update copyright year reported by --version
+ * lib/version-etc.c (COPYRIGHT_YEAR): Update to 2012.
+
+2011-12-31 Pádraig Brady <P@draigBrady.com>
+
+ canonicalize: only stat() if required
+ * lib/canonicalize.c (canonicalize_filename_mode):
+ Avoid calling l?stat() when both CAN_MISSING,
+ and CAN_NOLINKS are set, as we neither need
+ to resolve symlinks or test component existence.
+
+2011-12-31 Paul Eggert <eggert@cs.ucla.edu>
+
+ doc: cover st_ino issues once; add OpenVMS etc.
+ * doc/posix-functions/stat.texi (stat):
+ * doc/posix-functions/lstat.texi (lstat):
+ * doc/posix-functions/fstatat.texi (fstatat):
+ * doc/posix-functions/fstat.texi (fstat):
+ Move general 'struct stat' stuff to sys_stat.texi,
+ leaving behind a pointer.
+ * doc/posix-headers/sys_stat.texi (sys/stat.h):
+ Merge duplicate info about 'struct stat' problems into here.
+ Mention issues with OpenVMS, GNU/Linux NFS, NetApp, ClearCase,
+ and suggest partial workarounds.
+
+ same-inode: port to OpenVMS
+ * lib/same-inode.h (SAME_INODE): Port to OpenVMS by checking all
+ three st_ino values.
+
+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
+ C++11 says there's no need to define __STDC_CONSTANT_MACROS etc.
+ when including inttypes.h and stdint.h. Support this change to
+ the standard.
+ * doc/posix-headers/inttypes.texi (inttypes.h):
+ * doc/posix-headers/stdint.texi (stdint.h): Document this.
+ * lib/inttypes.in.h (__STDC_FORMAT_MACROS) [! __cplusplus]:
+ Define if not defined already, for the benefit of pre-C++11 hosts.
+ Define the standard format macros (e.g., PRId8) always.
+ * lib/stdint.in.h (__STDC_CONSTANT_MACROS, __STDC_LIMIT_MACROS):
+ Likewise, if __cpluspus. Define the standard constant and limit
+ macros (e.g., INT8_C, INT8_MAX) always.
+ * m4/inttypes.m4 (gl_INTTYPES_INCOMPLETE): Do not define
+ GL_TRIGGER_STDC_LIMIT_MACROS or __STDC_LIMIT_MACROS; no longer needed.
+ * m4/stdint.m4 (gl_STDINT_H): Update comments about these macros.
+ * tests/test-inttypes.c (__STDC_LIMIT_MACROS, __STDC_CONSTANT_MACROS)
+ (__STDC_FORMAT_MACROS): Do not define, since we assume C++11 API now.
+ * tests/test-stdint.c (__STDC_LIMIT_MACROS, __STDC_CONSTANT_MACROS):
+ Likewise.
+
+2011-12-12 Paul Eggert <eggert@cs.ucla.edu>
+
+ nonblocking tests: Fix test failure on Linux/PPC.
+ Suggested by Prerna Saxena in
+ <http://lists.gnu.org/archive/html/bug-gnulib/2011-12/msg00080.html>.
+ * tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/PPC64]:
+ Set to 1100000.
+
+2011-12-12 Jim Meyering <meyering@redhat.com>
+
+ argmatch: don't hard-code `' when listing valid option arguments
+ * lib/argmatch.c (argmatch_valid): Don't hard-code `%s'. Instead,
+ use the quote function to add quotes. Use fputs rather than
+ fprintf for the format string with no format directive.
+
+2011-12-07 Eric Blake <eblake@redhat.com>
+
+ bootstrap: detect tools required by gnulib-tool
+ * build-aux/bootstrap (buildreq): Provide minimum implicit
+ dependencies.
+ * DEPENDENCIES: Mention patch as a prereq.
+
+2011-12-04 Bruno Haible <bruno@clisp.org>
+
+ sethostname: Port to Windows platforms.
+ * lib/sethostname.c: Provide an alternate implementation for Windows
+ platforms.
+ * tests/test-sethostname2.c (geteuid): Redefine on Cygwin.
+ (main): Skip the test if sethostname() fails with EPERM. On Windows
+ platforms, don't check the result of gethostname().
+
+2011-12-04 Bruno Haible <bruno@clisp.org>
+ Jim Meyering <meyering@redhat.com>
+
+ tests: Avoid spurious error message on platforms without mktemp program.
+ * tests/init.sh (mktempd_): Run mktemp in a subcommand.
+
+2011-12-04 Bruno Haible <bruno@clisp.org>
+
+ sethostname: Fix documentation.
+ * doc/glibc-functions/sethostname.texi: Move the Solaris problem to the
+ "not fixed" section.
+
+2011-12-03 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool: Verify that the License field is present and non-empty.
+ * gnulib-tool (func_get_license_raw): New function, extracted from
+ func_get_license.
+ (func_get_license): Use it. Warn if the module is not a test module and
+ has no license.
+ Suggested by Jim Meyering.
+
+2011-12-03 Bruno Haible <bruno@clisp.org>
+
+ sethostname tests: Fix link error on mingw.
+ * tests/test-sethostname1.c: New file, extracted from
+ tests/test-sethostname.c.
+ * tests/test-sethostname2.c: New file, extracted from
+ tests/test-sethostname.c.
+ * tests/test-sethostname.c: Remove file.
+ * modules/sethostname-tests (Files): Add tests/test-sethostname1.c,
+ tests/test-sethostname2.c. Remove tests/test-sethostname.c.
+ (Depends-on): Add gethostname.
+ (Makefile.am): Compile both test-sethostname1 and test-sethostname2.
+ Link the latter with $(GETHOSTNAME_LIB).
+
+ sethostname tests: Fix compilation error on mingw.
+ * tests/test-sethostname.c: Don't include <sys/types.h>.
+ (geteuid): Use a dummy value without uid_t.
+ * modules/sethostname-tests (Depends-on): Remove sys_types.
+
+ sethostname tests: Avoid a gcc warning.
+ * tests/test-sethostname.c (main): Remove an unused variable.
+
+ Tweak last commit.
+ * modules/sethostname-tests (Files): Sort by decreasing importance.
+ (configure.ac): Check for geteuid.
+ * tests/test-sethostname.c (main): Emit error messages to stderr. Skip
+ the test when there's nothing to test. Drop an unnecessary cast.
+ Improve an error message. Verify that the final sethostname() call
+ succeeds.
+
2011-12-01 Ben Walton <bwalton@artsci.utoronto.ca>
Add a test suite for the sethostname module.
coding: utf-8
End:
- Copyright (C) 1997-2011 Free Software Foundation, Inc.
+ Copyright (C) 1997-2012 Free Software Foundation, Inc.
Copying and distribution of this file, with or without
modification, are permitted provided the copyright notice