Minor fixups to port to Solaris 10 with Sun C 5.8.
[gnulib.git] / ChangeLog
index 7ddde7a..f7aa738 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,47 @@
+2007-02-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Minor fixups to port to Solaris 10 with Sun C 5.8.
+       * lib/getcwd.c [!_LIBC]: Include dirfd.h, since we use dirfd.
+       * modules/getcwd (Depends-on): Add dirfd.
+       * lib/putenv.c (putenv): #undef it.
+       (rpl_putenv): New decl.
+       (malloc, free): Include <stdlib.h> rather than prototyping separately.
+
+2007-02-20  Bruno Haible  <bruno@clisp.org>
+
+       * modules/stdio-tests: New file.
+       * tests/test-stdio.c: New file.
+
+       * modules/vsnprintf (Files): Remove lib/vsnprintf.h.
+       (Depends-on): Add stdio.
+       (configure.ac): Invoke gl_STDIO_MODULE_INDICATOR.
+       (Include): Use <stdio.h> instead of vsnprintf.h.
+       * m4/vsnprintf.m4 (gl_FUNC_VSNPRINTF): Require gl_STDIO_H_DEFAULTS. Set
+       HAVE_DECL_VSNPRINTF.
+       * lib/vsnprintf.c: Include <stdio.h> instead of vsnprintf.h.
+
+       * modules/snprintf (Files): Remove lib/snprintf.h.
+       (Depends-on): Add stdio.
+       (configure.ac): Invoke gl_STDIO_MODULE_INDICATOR.
+       (Include): Use <stdio.h> instead of snprintf.h.
+       * m4/snprintf.m4 (gl_FUNC_SNPRINTF): Require gl_STDIO_H_DEFAULTS. Set
+       HAVE_DECL_SNPRINTF.
+       * lib/snprintf.c: Include <stdio.h> instead of snprintf.h.
+       * lib/getaddrinfo.c: Likewise.
+
+       * modules/stdio: New file.
+       * lib/stdio_.h: New file, incorporating snprintf.h and vsnprintf.h.
+       * lib/snprintf.h: Remove file.
+       * lib/vsnprintf.h: Remove file.
+       * lib/.cppi-disable: Remove snprintf.h.
+       * m4/stdio_h.m4: New file.
+       * MODULES.html.sh (Support for systems lacking ISO C 99): Add stdio.
+
+2007-02-20  Jim Meyering  <jim@meyering.net>
+
+       * lib/ftruncate.c [HAVE_CHSIZE]: Document that this code is
+       used by e.g., mingw.  From Bruno Haible.
+
 2007-02-19  Bruno Haible  <bruno@clisp.org>
 
        * lib/string_.h: Use "#pragma GCC system_header" to suppress some gcc