ptsname_r: Add support for Solaris.
[gnulib.git] / ChangeLog
index a12bccf..08131d3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,48 @@
+2012-06-24  Bruno Haible  <bruno@clisp.org>
+
+       ptsname_r: Add support for Solaris.
+       * lib/ptsname_r.c (__ptsname_r): Add a different implementation for
+       Solaris.
+
+       ptsname_r: Fix test failure on native Windows.
+       * modules/ptsname_r (Depends-on): Add isatty.
+
+       ptsname_r: Fix test failures on IRIX, Solaris.
+       * m4/ptsname_r.m4 (gl_PREREQ_PTSNAME_R): Test whether isatty sets
+       errno when it fails. Define ISATTY_FAILS_WITHOUT_SETTING_ERRNO
+       accordingly.
+       * lib/ptsname_r.c: Include <fcntl.h>.
+       (__ptsname_r): When isatty returned false, then on IRIX, Solaris
+       set errno if fd is invalid.
+       * tests/test-isatty.c (main): Update comments.
+
+2012-06-24  Bruno Haible  <bruno@clisp.org>
+
+       ptsname test: Extend test.
+       * tests/test-ptsname.c: Include <errno.h>.
+       (main): Test behaviour with invalid file descriptor.
+
+2012-06-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       time: fix obsolete comment
+       * m4/time_h.m4 (gl_CHECK_TYPE_STRUCT_TIMESPEC): Remove obsolete
+       reference to HAVE_STRUCT_TIMESPEC in comment.
+
+2012-06-23  Bruno Haible  <bruno@clisp.org>
+
+       getopt-gnu: Handle suboptimal getopt_long's abbreviation handling.
+       * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): If getopt_long exists but
+       does not handle abbreviated long options with equivalent
+       disambiguations, set gl_replace_getopt to yes.
+       * doc/posix-functions/getopt.texi: Mention the OpenBSD 5.0 problem.
+
+2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       time_r: fix typo that always overrode localtime_r decl
+       * m4/time_r.m4 (gl_TIME_R): Use AC_CHECK_DECLS, not
+       AC_CHECK_DECLS_ONCE, since localtime_r is declared in <time.h>,
+       not in a standard include.
+
 2012-06-22  Bruno Haible  <bruno@clisp.org>
 
        Write "Mac OS X" instead of "MacOS X".