locale: Make locale_t available when possible.
[pspp] / ChangeLog
index 9f8d4efbe7f4d12c4e4ceae8bf3ef61ca6a695fd..3e7980f5c3c042a7d23c5094337e83d0c136013b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,43 @@
+2009-11-22  Bruno Haible  <bruno@clisp.org>
+
+       locale: Make locale_t available when possible.
+       * lib/locale.in.h: Include <xlocale.h> when it exists.
+       * m4/locale_h.m4 (gl_LOCALE_H): Check for <xlocale.h> and arrange to
+       replace <locale.h> if it does not define locale_t but <xlocale.h> does.
+       * modules/locale (Depends-on): Add extensions.
+       (Makefile.am): Also substitute HAVE_XLOCALE_H.
+       * doc/posix-headers/locale.texi: Document the problem with locale_t.
+
+2009-11-22  Bruno Haible  <bruno@clisp.org>
+
+       Add comments.
+       * m4/dirent_h.m4 (gl_DIRENT_H): Add comment about gl_CHECK_NEXT_HEADERS
+       invocation.
+       * m4/iconv_h.m4 (gl_ICONV_H): Likewise.
+       * m4/spawn_h.m4 (gl_SPAWN_H): Likewise.
+       * m4/wchar.m4 (gl_WCHAR_H): Likewise.
+
+2009-11-22  Bruno Haible  <bruno@clisp.org>
+
+       error: account for the possibility of freopen (stdout).
+       * lib/error.c: Include <unistd.h>.
+       (flush_stdout): New function, extracted from error and error_at_line.
+       Determine stdout's fd dynamically.
+       (error, error_at_line): Invoke flush_stdout.
+       * m4/error.m4 (gl_PREREQ_ERROR): Require AC_C_INLINE.
+       * modules/error (Depends-on): Add unistd.
+
+2009-11-22  Bruno Haible  <bruno@clisp.org>
+
+       diffseq: Add comment.
+       * lib/diffseq.h (IF_LINT): Add comment about pitfall.
+
 2009-11-22  Jim Meyering  <meyering@redhat.com>
 
+       c-stack: avoid defining an unused static function
+       * lib/c-stack.c (find_stack_direction): Do not define this function
+       when it will not be used.
+
        diffseq: avoid spurious gcc warnings
        * lib/diffseq.h (IF_LINT2): Define.
        (compareseq): Use it to initialize two members of "part".