X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=19f7d09b614837482f0760c6e06a80a7ddd02607;hb=578b78a0f92cb6732d1b76d76933b376be85de55;hp=9eef4acf325d2cbd9a3c161ba993fe580e98fd03;hpb=67323e00d04e4790947f0f0b0ac8c244769008a2;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 9eef4acf3..be91c01f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,811 @@ +2007-03-25 Bruno Haible + + * lib/getaddrinfo.c (getaddrinfo): Don't access hints->ai_flags when + hints is NULL. + +2007-03-25 Bruno Haible + + * lib/uniconv/u8-conv-from-enc.c (u8_conv_from_encoding): Add a cast. + * lib/uniconv/u8-strconv-to-enc.c (u8_strconv_to_encoding): Likewise. + +2007-03-25 Bruno Haible + + * lib/vasnprintf.c: Include langinfo.h. + (VASNPRINTF): Prefer nl_langinfo over localeconv, since it's more + multithread-safe. + * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): New macro. + * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Invoke it. + * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Likewise. + * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Likewise. + * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Likewise. + * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Likewise. + * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Likewise. + * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX: Likewise. + * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Likewise. + Reported by Simon Josefsson. + +2007-03-25 Bruno Haible + + * lib/printf-parse.c [!IN_LIBINTL]: Include , for intmax_t. + (PRINTF_PARSE): Make the support for size specifier 'j' unconditional. + * modules/vasnprintf (Depends-on): Add stdint. + +2007-03-25 Bruno Haible + + * modules/fpieee: New file. + * m4/fpieee.m4: New file. + * modules/isnan-nolibm (Depends-on): Add fpieee. + * modules/isnanl-nolibm (Depends-on): Add fpieee. + * modules/isnanl (Depends-on): Add fpieee. + +2007-03-25 Bruno Haible + + * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Test also finite numbers. + +2007-03-25 Bruno Haible + + Avoid test failures on IRIX 6.5. + * tests/test-frexpl.c (MIN_NORMAL_EXP): New macro. + (main): Use it. + * tests/test-printf-frexpl.c (MIN_NORMAL_EXP, MIN_SUBNORMAL_EXP): New + macros. + (main): Use them. + +2007-03-25 Bruno Haible + + * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): New macro. + (gl_FUNC_FREXPL): Invoke it. Set REPLACE_FREXPL to 1 if it frexpl + exists but doesn't work. + * lib/math_.h (frexpl): Define as a replacement macro if REPLACE_FREXPL + is set. Don't provide a prototype if REPLACE_FREXPL is not set. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_FREXPL. + * modules/math (Makefile.am) Substibute also REPLACE_FREXPL into math.h. + +2007-03-25 Bruno Haible + + * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Add check whether frexp(inf) + returns inf. Needed on IRIX 6.5. + +2007-03-25 Bruno Haible + + * tests/test-frexpl.c: Include isnanl-nolibm.h. + (main): Use isnanl instead of x != x idiom. + * modules/frexpl-tests (Depends-on): Add isnanl-nolibm. + + * tests/test-frexp.c: Include isnan.h. + (main): Use isnan instead of x != x idiom. + * modules/frexp-tests (Depends-on): Add isnan-nolibm. + +2007-03-25 Bruno Haible + + * tests/test-frexp.c (NaN): New function/macro. + (main): Use it instead of 0.0 / 0.0. + * tests/test-isnan.c (NaN): New function/macro. + (main): Use it instead of 0.0 / 0.0. + * tests/test-vasnprintf-posix.c (NaN): New function/macro. + (test_function): Use it instead of 0.0 / 0.0. + * tests/test-vasprintf-posix.c (NaN): New function/macro. + (test_function): Use it instead of 0.0 / 0.0. + * tests/test-snprintf-posix.h (NaN): New function/macro. + (test_function): Use it instead of 0.0 / 0.0. + * tests/test-sprintf-posix.h (NaN): New function/macro. + (test_function): Use it instead of 0.0 / 0.0. + * tests/test-fprintf-posix.h (NaN): New function/macro. + (test_function): Use it instead of 0.0 / 0.0. + * tests/test-printf-posix.h (NaN): New function/macro. + (test_function): Use it instead of 0.0 / 0.0. + + * lib/isnan.c (FUNC): Work around a DEC C compiler bug. + +2007-03-25 Bruno Haible + + * lib/glob_.h: Include . Avoids warnings on AIX 5.1. + +2007-03-25 Bruno Haible + + * lib/regexec.c (merge_state_with_log): Make static. + +2007-03-25 Bruno Haible + + * lib/trigl.c (kernel_rem_pio2): Make static. + +2007-03-25 Bruno Haible + + * lib/sincosl.c (sincosl_table): Make static. + +2007-03-25 Bruno Haible + + * lib/argp.h (__restrict): Define to empty, rather than to 'restrict', + if the compiler does not support C99. + +2007-03-25 Bruno Haible + + * modules/time (Makefile.am): Ensure all rule action lines start with a + tab. + +2007-03-24 Bruno Haible + + * modules/tsearch-tests: New file. + * tests/test-tsearch.sh: New file. + * tests/test-tsearch.c: New file, mostly copied from glibc. + + * modules/search-tests: New file. + * tests/test-search.c: New file. + + * modules/search: New file. + * lib/search_.h: New file, incorporating lib/tsearch.h. + * m4/search_h.m4: New file. + * lib/tsearch.h: Remove file. + * lib/tsearch.c: Include search.h instead of tsearch.h. + * m4/tsearch.m4 (gl_FUNC_TSEARCH): Require gl_SEARCH_H_DEFAULTS. Set + HAVE_TSEARCH. + * modules/tsearch (Files): Remove lib/tsearch.h. + (Depends-on): Add search. + (configure.ac): Invoke gl_SEARCH_MODULE_INDICATOR. + (Include): Change tsearch.h into search.h. + +2007-03-24 Bruno Haible + + * modules/fpucw: New file. + * lib/fpucw.h: New file. + * lib/frexp.c: Include fpucw.h. + (DECL_ROUNDING, BEGIN_ROUNDING, END_ROUNDING): New macros. + (FUNC): Use them. + * lib/printf-frexp.c: Include fpucw.h. + (DECL_ROUNDING, BEGIN_ROUNDING, END_ROUNDING): New macros. + (FUNC): Use them. + * lib/vasnprintf.c: Include fpucw.h. + (VASNPRINTF): Invoke BEGIN/END_LONG_DOUBLE_ROUNDING around the + 'long double' calculations. + * tests/test-frexpl.c: Include fpucw.h. + (main): Invoke BEGIN_LONG_DOUBLE_ROUNDING. + * tests/test-printf-frexpl.c: Include fpucw.h. + (main): Invoke BEGIN_LONG_DOUBLE_ROUNDING. + * modules/frexpl (Depends-on): Add fpucw. + * modules/printf-frexpl (Depends-on): Likewise. + * modules/fprintf-posix (Depends-on): Likewise. + * modules/snprintf-posix (Depends-on): Likewise. + * modules/sprintf-posix (Depends-on): Likewise. + * modules/vasnprintf-posix (Depends-on): Likewise. + * modules/vasprintf-posix (Depends-on): Likewise. + * modules/vfprintf-posix (Depends-on): Likewise. + * modules/vsnprintf-posix (Depends-on): Likewise. + * modules/vsprintf-posix (Depends-on): Likewise. + * modules/frexpl-tests (Depends-on): Likewise. + * modules/printf-frexpl-tests (Depends-on): Likewise. + +2007-03-24 Bruno Haible + + * lib/float+.h: New file. + * lib/isnan.c: Include float+.h. + (SIZE): New macro. + (FUNC): Compare only SIZE bytes of the value. + * lib/vasnprintf.c: Include float+.h. + (VASNPRINTF): When comparing agains +0.0L or +0.0, compare only + SIZEOF_LDBL or SIZEOF_DBL bytes. + * modules/isnan-nolibm (Files): Add lib/float+.h. + * modules/isnanl-nolibm (Files): Add lib/float+.h. + * modules/isnanl (Files): Add lib/float+.h. + * modules/vasnprintf (Files): Add lib/float+.h. + +2007-03-24 Bruno Haible + + * lib/vasnprintf.c [!HAVE_LONG_DOUBLE]: Include printf-frexp.h. Don't + include isnanl-nolibm.h. + +2007-03-24 Bruno Haible + + * tests/test-read-file.c (main): Don't produce spurious output for + expected situations. Make the test fail if it encountered unexpected + results. + +2007-03-24 Bruno Haible + + * m4/locale-fr.m4 (gt_LOCALE_FR): Remove the special-casing of NetBSD, + since its fr_FR.ISO8859-1 locale wouldn't pass the tests. + +2007-03-24 Bruno Haible + + * m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): Fix last change. + +2007-03-24 Bruno Haible + + * modules/unistr/base (Depends-on): Remove utf8-ucs4-unsafe, + utf16-ucs4-unsafe, utf8-ucs4, utf16-ucs4, ucs4-utf8, ucs4-utf16. + + * modules/unistr/u8-mbtouc: Add source files from module utf8-ucs4. + * modules/utf8-ucs4: Turn into a symbolic link to module + unistr/u8-mbtouc. + + * modules/unistr/u8-mbtouc-unsafe: Add source files from module + utf8-ucs4-unsafe. + * modules/utf8-ucs4-unsafe: Turn into a symbolic link to module + unistr/u8-mbtouc-unsafe. + + * modules/unistr/u16-mbtouc: Add source files from module utf16-ucs4. + * modules/utf16-ucs4: Turn into a symbolic link to module + unistr/u16-mbtouc. + + * modules/unistr/u16-mbtouc-unsafe: Add source files from module + utf16-ucs4-unsafe. + * modules/utf16-ucs4-unsafe: Turn into a symbolic link to module + unistr/u16-mbtouc-unsafe. + + * modules/unistr/u8-uctomb: Add source files from module utf4-utf8. + * modules/ucs4-utf8: Turn into a symbolic link to module + unistr/u8-ubtomb. + + * modules/unistr/u16-uctomb: Add source files from module utf4-utf16. + * modules/ucs4-utf16: Turn into a symbolic link to module + unistr/u16-ubtomb. + +2007-03-24 Bruno Haible + + * lib/unistr/u8-mbtouc-aux.c: Renamed from lib/unistr/utf8-ucs4.c. + Enable the function only if HAVE_INLINE. + * lib/unistr/u8-mbtouc-unsafe-aux.c: Renamed from + lib/unistr/utf8-ucs4-unsafe.c. Enable the function only if HAVE_INLINE. + * lib/unistr/u16-mbtouc-aux.c: Renamed from lib/unistr/utf16-ucs4.c. + Enable the function only if HAVE_INLINE. + * lib/unistr/u16-mbtouc-unsafe-aux.c: Renamed from + lib/unistr/utf16-ucs4-unsafe.c. Enable the function only if HAVE_INLINE. + * lib/unistr/u8-uctomb-aux.c: Renamed from lib/unistr/ucs4-utf8.c. + Enable the function only if HAVE_INLINE. + * lib/unistr/u16-uctomb-aux.c: Renamed from lib/unistr/ucs4-utf16.c. + Enable the function only if HAVE_INLINE. + * modules/utf8-ucs4: Update. + * modules/utf8-ucs4-unsafe: Update. + * modules/utf16-ucs4: Update. + * modules/utf16-ucs4-unsafe: Update. + * modules/ucs4-utf8: Update. + * modules/ucs4-utf16: Update. + +2007-03-24 Bruno Haible + + * lib/utf8-ucs4.h: Remove file. + * lib/utf8-ucs4-unsafe.h: Remove file. + * lib/utf16-ucs4.h: Remove file. + * lib/utf16-ucs4-unsafe.h: Remove file. + * lib/ucs4-utf8.h: Remove file. + * lib/ucs4-utf16.h: Remove file. + * lib/unistr.h: Include their previous contents. + * m4/utf-ucs4.m4: Remove file. + * m4/ucs4-utf.m4: Remove file. + * modules/utf8-ucs4 (Files): Remove lib/utf8-ucs4.h. + (Depends-on): Add unistr/base. + (configure.ac): Remove gl_UTF_UCS4. + (Makefile.am): Update. + (Include): Change to unistr.h. + * modules/utf8-ucs4-unsafe (Files): Remove lib/utf8-ucs4-unsafe.h. + (Depends-on): Add unistr/base. + (configure.ac): Remove gl_UTF_UCS4. + (Makefile.am): Update. + (Include): Change to unistr.h. + * modules/utf16-ucs4 (Files): Remove lib/utf16-ucs4.h. + (Depends-on): Add unistr/base. + (configure.ac): Remove gl_UTF_UCS4. + (Makefile.am): Update. + (Include): Change to unistr.h. + * modules/utf16-ucs4-unsafe (Files): Remove lib/utf16-ucs4-unsafe.h. + (Depends-on): Add unistr/base. + (configure.ac): Remove gl_UTF_UCS4. + (Makefile.am): Update. + (Include): Change to unistr.h. + * modules/ucs4-utf8 (Files): Remove lib/ucs4-utf8.h. + (Depends-on): Add unistr/base. + (configure.ac): Remove gl_UCS4_UTF. + (Makefile.am): Update. + (Include): Change to unistr.h. + * modules/ucs4-utf16 (Files): Remove lib/ucs4-utf16.h. + (Depends-on): Add unistr/base. + (configure.ac): Remove gl_UCS4_UTF. + (Makefile.am): Update. + (Include): Change to unistr.h. + * lib/unistr/utf8-ucs4.c: Include unistr.h instead of utf8-ucs4.h. + * lib/unistr/utf8-ucs4-unsafe.c: Include unistr.h instead of + utf8-ucs4-unsafe.h. + * lib/unistr/utf16-ucs4.c: Include unistr.h instead of utf16-ucs4.h. + * lib/unistr/utf16-ucs4-unsafe.c: Include unistr.h instead of + utf16-ucs4-unsafe.h. + * lib/unistr/ucs4-utf8.c: Include unistr.h instead of ucs4-utf8.h. + * lib/unistr/ucs4-utf16.c: Include unistr.h instead of ucs4-utf16.h. + * lib/unistr/u8-chr.c: Don't include ucs4-utf8.h. + * lib/unistr/u8-strchr.c: Likewise. + * lib/unistr/u8-strrchr.c: Likewise. + * lib/unistr/u16-chr.c: Don't include ucs4-utf16.h. + * lib/unistr/u16-strchr.c: Likewise. + * lib/unistr/u16-strrchr.c: Likewise. + * lib/striconveh.c: Update. + +2007-03-24 Bruno Haible + + * lib/argp-help.c (fill_in_uparams, canon_doc_option): Cast the + arguments of isspace, isalpha, isalnum, isdigit to 'unsigned char'. + +2007-03-22 Bruno Haible + + * lib/strptime.c (__strptime_internal): Use ANSI C syntax. + +2007-03-23 Paul Eggert + + * MODULES.html.sh (File system functions): New module write-any-file. + * modules/write-any-file, lib/write-any-file.c, lib/write-any-file.h: + * m4/write-any-file.m4: New files. + +2007-03-23 Eric Blake + + * gnulib-tool: Rearrange space-tab sequences, since some editors + like to eat them. + +2007-03-23 Eric Blake + + * lib/version-etc.c (version_etc_va): Update license wording to + be more concise. Recommended by Richard Stallman. + +2007-03-22 Bruno Haible + + * lib/poll.c (MSG_PEEK): New fallback definition. + +2007-03-22 Bruno Haible + + * modules/sys_socket-tests (configure.ac): Check for shutdown function. + * tests/test-sys_socket.c (a): Test only if shutdown() exists. + (main): Update. + Fixes a compilation error on BeOS. + +2007-03-22 Bruno Haible + + * modules/frexpl-tests: New file. + * tests/test-frexpl.c: New file. + + * modules/frexpl: New file. + * m4/frexpl.m4: New file. + * modules/math (Makefile.am): Also substitute GNULIB_FREXPL into math.h. + * lib/math_.h (frexpl): Test GNULIB_FREXPL instead of GNULIB_MATHL. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_FREXPL. + * modules/mathl (Files): Remove lib/frexpl.c, lib/frexp.c. + (Depends-on): Add frexpl. Remove isnanl-nolibm. + * m4/mathl.m4 (gl_FUNC_LONG_DOUBLE_MATH): Don't test for frexpl. + +2007-03-22 Bruno Haible + + * lib/frexpl.c: Share code with lib/frexp.c. + * modules/mathl (Files): Add lib/frexp.c. + (Depends-on): Add isnanl-nolibm. + +2007-03-22 Bruno Haible + + * modules/printf-frexp (Files): Add m4/frexp.m4. + * m4/printf-frexp.m4 (gl_FUNC_PRINTF_FREXP): Define HAVE_FREXP_IN_LIBC + only if the found frexp function actually works. + +2007-03-22 Bruno Haible + + * lib/frexp.c: Remove older implementation that uses divisions. + +2007-03-21 Bruno Haible + + * modules/frexp-tests: New file. + * tests/test-frexp.c: New file. + + * modules/frexp: New file. + * lib/frexp.c: New file. + * m4/frexp.m4: New file. + * lib/math_.h (frexp): New declaration. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Also initialize GNULIB_FREXP and + REPLACE_FREXP. + * modules/math (math.h): Also substitute GNULIB_FREXP, REPLACE_FREXP. + +2007-03-21 Bruno Haible + + * modules/isnanl-tests: New file. + * tests/test-isnanl.c: New file. + + * modules/isnanl: New file. + * lib/isnanl.h: New file. + * m4/isnanl.m4 (gl_FUNC_ISNANL): New macro. + (gl_FUNC_ISNANL_NO_LIBM): Invoke gl_HAVE_ISNANL_NO_LIBM, + gl_FUNC_ISNANL_WORKS. + (gl_HAVE_ISNANL_NO_LIBM, gl_HAVE_ISNANL_IN_LIBM, gl_FUNC_ISNANL_WORKS): + New macros. + +2007-03-21 Bruno Haible + + * modules/isnanl-nolibm (Files): Add lib/isnanl-nolibm.h, remove + lib/isnanl.h. + (Include): Update. + * lib/isnanl-nolibm.h: Renamed from lib/isnanl.h. + * lib/vasnprintf.c: Update. + * modules/isnanl-nolibm-tests (Files): Add tests/test-isnanl-nolibm.c, + tests/test-isnanl.h, remove tests/test-isnanl.c. + (Makefile.am): Update. + * tests/test-isnanl-nolibm.c: New file. + * tests/test-isnanl.h: New file. + * tests/test-isnanl.c: Remove file. + +2007-03-21 Jim Meyering + + When trying to open ".", treat ESTALE like EACCES. + * lib/savewd.c (savewd_save): Resort to forking not just upon + failure with EACCES, but also when errno is ESTALE. + +2007-03-20 Bruno Haible + + * lib/string_.h (strndup): Enable declaration also if HAVE_STRNDUP. + Needed on AIX 5.1. Reported by Matthew Woehlke. + +2007-03-19 Paul Eggert + + Suggestions by Bruno Haible: + * lib/acl-internal.h: Include "gettext.h" rather than rolling + our own. + (ACL_NOT_WELL_SUPPORTED): Parenthesize arg when used. + * modules/acl (Depends-on): Add gettext. + +2007-03-19 Bruno Haible + + * modules/iconvme: Remove file. + * lib/iconvme.h: Remove file. + * lib/iconvme.c: Remove file. + * m4/iconvme.m4: Remove file. + +2007-03-19 Bruno Haible + + * doc/relocatable-maint.texi: Break long shell script line. + Suggested by Thien-Thi Nguyen . + +2007-03-19 Paul Eggert + + Add limited support for Solaris 10 ZFS-style ACLs: just enough to + handle file_has_acl. + * lib/acl-internal.h, lib/acl_entries.c, lib/file-has-acl.c: New files. + * lib/acl.c: Move header inclusions and related macro defns into + lib/acl-internal.h. + (S_ISLNK): Remove defn, since that's now done for us. + (file_has_acl): Move to lib/file-has-acl.c. + Call acl_trivial if available. This is the crucial part of the fix. + (acl_entries): Move to lib/acl_entries.c. Now extern, since it's + shared within the library. Rewrite a bit, partly to make it compatible + with the GNU coding style. + * m4/acl.m4 (AC_FUNC_ACL): Add AC_LIBOBJ([file-has-acl]). + Remove unnecessary double-quotes. + Don't test for acl_to_text; the build will catch that. + Replace acl_entries if it doesn't exist and it is needed. + Check for -lsec and acl_trivial (as used on Solaris 10). + * modules/acl (Files): Add lib/acl-internal.h, lib/acl_entries.c, + lib/file-has-acl.c. + (Depends-on): Add sys_stat, for S_ISLNK. + +2007-03-19 Ben Pfaff + + * doc/gnulib.texi: Fix typos. + Suggested by Thien-Thi Nguyen . + +2007-03-19 Paul Eggert + + * lib/getcwd.c (__getcwd): Remove redundant comparison of buf to NULL. + If size is zero here, buf must be zero. + +2007-03-19 Simon Josefsson + + * des.c: Remove weak_keys_chksum. Reported by Bruno Haible + . + +2007-03-18 Bruno Haible + + * lib/vasnprintf.c (VASNPRINTF): Undo first part of last patch. + Suggested by Eric Blake. + +2007-03-18 Ben Pfaff + + * doc/relocatable.texi: Recommend using as prefix a directory + that does not exist and will never be created. Based on + discussion with Bruno Haible, Ralf Wildenhues, Matthew Woehlke, + and others. + +2007-03-17 Bruno Haible + + * lib/fchownat.c: Include lchown.h. + +2007-03-17 Bruno Haible + + Fix endless loop when the given allocated size was > INT_MAX. + * lib/vasnprintf.c (EOVERFLOW): New fallback definition. + (VASNPRINTF): Fail with EOVERFLOW when the given allocated size is + larger than INT_MAX, or when it grow to a value larger than INT_MAX. + * lib/vsprintf.c (vsprintf): Don't pass a size > INT_MAX to vasnprintf. + * lib/sprintf.c (sprintf): Likewise. + +2007-03-17 Bruno Haible + + * tests/test-argp-2.sh (func_compare): Output a context diff. + +2007-03-17 Bruno Haible + + * m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): Check also the + locale's decimal-point character. + +2007-03-17 Bruno Haible + + * lib/vasnprintf.c (VASNPRINTF): Clear out the memory used for arg_mem + before comparing it. Needed because on some platforms (e.g. x86) a + 'long double' occupies less bytes than sizeof (long double). + +2007-03-17 Bruno Haible + + * tests/test-crc.c (main): Make printf statements 64-bit clean. + * tests/test-gc-pbkdf2-sha1.c (main): Likewise. + * tests/test-getaddrinfo.c (simple): Likewise. + * tests/test-read-file.c (main): Likewise. + +2007-03-17 Bruno Haible + + * tests/test-dirname.c (main): Make printf statements 64-bit clean. + +2007-03-17 Bruno Haible + + * tests/test-xvasprintf.c (test_xvasprintf, test_xasprintf): Remove + unused variable. + +2007-03-17 Bruno Haible + + * tests/test-c-strcasecmp.c: Include c-strcase.h. + * tests/test-c-strncasecmp.c: Likewise. + +2007-03-17 Bruno Haible + + * modules/stdlib (Depends-on): Add unistd. + * lib/stdlib_.h: Include if mkstemp is desired. + Needed for MacOS X 10.3. + +2007-03-17 Bruno Haible + + * lib/unistr/u-strdup.h: Include . + +2007-03-17 Bruno Haible + + * lib/unistr/u-cpy-alloc.h: Include . + +2007-03-17 Bruno Haible + + * gnulib-tool (func_import): Update .cvsignore and .gitignore files + to reflect files copied from gnulib (with or without modifications). + Suggested by Jim Meyering. + +2007-03-17 Eric Blake + + * NEWS: Document stdlib change from 2007-02-18. + +2007-03-17 Jim Meyering + + Detect use of AC_CONFIG_AUX_DIR also when its argument is quoted. + * build-aux/bootstrap: Put ""s around use of $build_aux, in case + someone uses a name containing shell meta-characters. + Reported by Alfred M. Szmidt. + + * build-aux/bootstrap: Don't use \> in grep regexp. For HP-UX. + +2007-03-16 Alfred M. Szmidt + + * build-aux/bootstrap (with_gettext): New variable. Run autopoint + and copy gettext configuration files only if configure.ac contains + a use of AM_GNU_GETTEXT_VERSION. + +2007-03-16 Alfred M. Szmidt + + * build-aux/bootstrap (gnulib_name): New variable. + (gnulib_tool_options): Use it. + +2007-03-13 Simon Josefsson + + * tests/test-des.c: Use new namespace. + +2007-03-15 Bruno Haible + + * lib/dummy.c (gl_dummy_symbol): Renamed from 'dummy'. + Reported by James Youngman . + +2007-03-15 Bruno Haible + + * lib/glob.c (glob): Add 'restrict' so that prototype matches the + declared prototype. Needed with cc on OSF/1 5.1. + +2007-03-15 Bruno Haible + + * lib/gl_list.h (gl_listelement_dispose_fn): New type. + (gl_list_create_empty, gl_list_create): Add dispose_fn argument. + (struct gl_list_implementation): Add dispose_fn argument to the + 'create_empty', 'create' methods. + (struct gl_list_impl_base): Add field 'dispose_fn'. + * lib/gl_list.c (gl_list_create_empty, gl_list_create): Add dispose_fn + argument. + * lib/gl_array_list.c (gl_array_create_empty, gl_array_create): Add + dispose_fn argument. + (gl_array_remove_node, gl_array_remove_at, gl_array_list_free): Call + dispose_fn on the dropped values. + * lib/gl_carray_list.c (gl_carray_create_empty, gl_carray_create): Add + dispose_fn argument. + (gl_carray_remove_at, gl_carray_list_free): Call dispose_fn on the + dropped values. + * lib/gl_anyavltree_list2.h (gl_tree_create): Add dispose_fn argument. + (gl_tree_remove_node): Call dispose_fn on the dropped value. + * lib/gl_anyrbtree_list2.h (gl_tree_create): Add dispose_fn argument. + (gl_tree_remove_node): Call dispose_fn on the dropped value. + * lib/gl_anytree_list2.h (gl_tree_create_empty): Add dispose_fn + argument. + (gl_tree_list_free): Call dispose_fn on the dropped values. + * lib/gl_anytreehash_list2.h (gl_tree_list_free): Call dispose_fn on + the dropped values. + * lib/gl_anylinked_list2.h (gl_linked_create_empty, gl_linked_create): + Add dispose_fn argument. + (gl_linked_remove_node, gl_linked_remove_at, gl_linked_list_free): + Call dispose_fn on the dropped values. + * lib/gl_sublist.c (gl_sublist_create_empty, gl_sublist_create_fill): + Add dispose_fn argument. + (gl_sublist_create): Initialize the 'dispose_fn' field. + * lib/clean-temp.c (create_temp_dir, register_fd): Update. + * tests/test-array_list.c (main): Update. + * tests/test-carray_list.c (main): Update. + * tests/test-avltree_list.c (main): Update. + * tests/test-rbtree_list.c (main): Update. + * tests/test-avltreehash_list.c (main): Update. + * tests/test-rbtreehash_list.c (main): Update. + * tests/test-linked_list.c (main): Update. + * tests/test-linkedhash_list.c (main): Update. + * tests/test-array_oset.c (main): Update. + +2007-03-15 Bruno Haible + + * lib/gl_oset.h (gl_setelement_dispose_fn): New type. + (gl_oset_create_empty): Add dispose_fn argument. + (struct gl_oset_implementation): Add dispose_fn argument to + 'create_empty' method. + (struct gl_oset_impl_base): Add dispose_fn field. + * lib/gl_oset.c (gl_oset_create_empty): Add dispose_fn argument. + * lib/gl_array_oset.c (gl_array_create_empty): Add dispose_fn argument. + (gl_array_remove_at, gl_array_free): Call dispose_fn on the dropped + values. + * lib/gl_anytree_oset.h (gl_tree_create_empty): Add dispose_fn argument. + (gl_tree_oset_free): Call dispose_fn on the dropped values. + * lib/gl_avltree_oset.c (gl_tree_remove_node): Call dispose_fn on the + dropped value. + * lib/gl_rbtree_oset.c (gl_tree_remove_node): Call dispose_fn on the + dropped value. + * tests/test-array_oset.c (main): Update. + * tests/test-avltree_oset.c (main): Update. + * tests/test-rbtree_oset.c (main): Update. + * lib/gl_anytreehash_list1.h (add_to_bucket): Update. + +2007-03-13 Bruno Haible + + * tests/test-stdbool.c (i): Update after last patch. + +2007-03-12 Bruno Haible + + * lib/quotearg.c: Include early, before the definition of + the iswprint macro. Needed on Solaris 2.5.1. + +2007-03-12 Bruno Haible + + * tests/test-printf-frexp.c (main): Declare x as volatile. + +2007-03-12 Simon Josefsson + + * doc/gnulib.texi (Build robot for gnulib): New section. + +2007-03-12 Jim Meyering + + * build-aux/bootstrap: New file. + * build-aux/bootstrap.conf: New file, from coreutils. + +2007-03-11 Bruno Haible + + * m4/cycle-check.m4 (gl_CYCLE_CHECK): Require AC_C_INLINE. + +2007-03-12 Simon Josefsson + + * lib/des.h, lib/des.c, lib/gc-gnulib.c: Use gl_ namespace, to + avoid collisions with 'des_setkey'. Reported by Bruno Haible + . Also change 'tripledes_' to '3des_'. + +2007-03-11 Bruno Haible + + * m4/locale-tr.m4 (gt_LOCALE_TR_UTF8): If the test program fails to + compile, set LOCALE_TR_UTF8 to 'none' instead of empty. + +2007-03-11 Bruno Haible + + * lib/stdint_.h (INT64_MIN, INTMAX_MIN): Avoid using the ~INT..._MAX + formula. Needed for SunPRO C 5.0. + +2007-03-11 Bruno Haible + + * modules/long-options (Depends-on): Add getopt. + +2007-03-11 Bruno Haible + + * modules/modechange (Depends-on): Add stdbool. + +2007-03-11 Bruno Haible + + * modules/i-ring (Depends-on): Add stdbool. + +2007-03-11 Bruno Haible + + * modules/gc-des (Depends-on): Add stdbool. + +2007-03-11 Bruno Haible + + * m4/mktime.m4 (gl_PREREQ_MKTIME): Require AC_C_INLINE. + +2007-03-11 Bruno Haible + + * m4/mempcpy.m4 (gl_FUNC_MEMPCPY): Require AC_C_RESTRICT. + +2007-03-11 Bruno Haible + + * lib/unistr/u32-mbtouc-unsafe.c (u32_mbtouc_unsafe): Fix syntax error. + +2007-03-11 Bruno Haible + + * lib/vasnprintf.c (sprintf): Undefine. + +2007-03-11 Bruno Haible + + * lib/isnan.c (rpl_isnan, rpl_isnanl): Work around bug regarding + initializers in SunPRO C and Compaq C compilers. + +2007-03-11 Bruno Haible + + * lib/gl_array_oset.c (gl_array_iterator_next): Make pointer + decrementing code ANSI C compliant. + +2007-03-11 Bruno Haible + + * lib/dummy.c [__sun]: Define a dummy variable, not just a typedef. + Needed for Solaris 2.5.1 ranlib and SunPRO C 5.0. + +2007-03-11 Bruno Haible + + * tests/test-stdbool.c (s, d, e, xlcbug): Disable checks that gnulib's + substitute doesn't pass. + +2007-03-11 Bruno Haible + + * lib/vasnprintf.c (snprintf): Undefine. Avoids an endless recursion. + +2007-03-11 Bruno Haible + + * gnulib-tool (func_create_megatestdir): Create also an autobuild + script, for submission to autobuild.josefsson.org. + +2007-03-10 Bruno Haible + + * modules/canonicalize-lgpl-tests: New file. + * tests/test-canonicalize-lgpl.sh: New file. + * tests/test-canonicalize-lgpl.c: New file. + + * modules/c-strcase-tests: New file. + * tests/test-c-strcase.sh: New file. + * tests/test-c-strcasecmp.c: New file. + * tests/test-c-strncasecmp.c: New file. + + * modules/atexit-tests: New file. + * tests/test-atexit.sh: New file. + * tests/test-atexit.c: New file. + +2007-03-10 Bruno Haible + + * tests/test-binary-io.sh: Use temporary filenames that are not so + likely to clash with those of other tests (in a parallel make). + * tests/test-binary-io.c: Likewise. + +2007-03-10 Bruno Haible + + * lib/fseterr.c (fseterr): Port to Solaris/SPARC64. Deactivate the + fallback; use #error instead. + Suggested by Simon Josefsson. + 2007-03-10 Bruno Haible * gnulib-tool (func_create_testdir): Treat MOSTLYCLEANFILES like