Enhance tests for module 'isatty'.
[gnulib.git] / ChangeLog
index b380dfb..d097810 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,80 @@
+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.
        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