X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=305964951ce1e8b65a566a8c5ee198451487c5a6;hb=8d2524ce78ca107074727cbd8780c26a203a107c;hp=1241e6adf1af6b774c5ab4397221a8bf98b6ded4;hpb=cfabb63265a6319684bba91e62242e29bcf0e2d7;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 1241e6adf..305964951 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,738 @@ +2009-03-03 Jim Meyering + + unlinkdir: cannot_unlink_dir may modify process state + * lib/unlinkdir.c (cannot_unlink_dir): Add a comment warning that + it's neither thread-safe nor appropriate for use in a library. + +2009-03-03 Eric Blake + + test-closein: silence test under Darwin + * tests/test-closein.sh: Ignore stderr from cat, since we don't + care if it dies from EPIPE or EBADF. + +2009-03-03 Bruno Haible + + * doc/gnulib.texi: Include visibility.texi and ld-version-script.texi + earlier. + * doc/visibility.texi: Fix @node and @section. + +2009-03-03 Simon Josefsson + + * doc/gnulib.texi: Link to sections for ld version script and + visibility. + * doc/visibility.texi: Add @node and @section. + * modules/ld-version-script: New module. + * m4/ld-version-script.m4: New file. + * doc/ld-version-script.texi: New file. + +2009-03-02 David Lutterkort + + * lib/safe-alloc.h (__GNUC_PREREQ): New macro. + Reported by Tom G. Christensen . + +2009-03-02 Bruno Haible + + * doc/visibility.texi: Mention libtool's -export-symbols option. + +2009-03-02 Jim Meyering + + announce-gen: new option: --no-print-checksums + * build-aux/announce-gen (usage): Describe it. + (print_checksums): Print a newline here, not in the [*] footnote. + (main): Honor it. + +2009-03-01 Bruno Haible + + Use socklen_t in the native Windows replacements prototypes. + * lib/sys_socket.in.h (rpl_getsockopt, rpl_setsockopt): Use socklen_t + instead of 'int'. + * lib/getsockopt.c (rpl_getsockopt): Likewise. + * lib/setsockopt.c (rpl_setsockopt): Likewise. + * modules/getsockopt (Depends-on): Add socklen. + * modules/setsockopt (Depends-on): Add socklen. + +2009-03-01 Bruno Haible + + * gnulib-tool (sed): Do alias as "sed --posix" if sed's version is at + least 4.2. + +2009-03-01 Eric Blake + Bruno Haible + + * lib/wait-process.h (wait_subprocess): Describe effect of termsigp on + error messages. + * lib/wait-process.c (wait_subprocess): Omit error message about + deadly signal sent to the child of termsigp != NULL. + +2009-03-01 Eric Blake + + * lib/wait-process.c (wait_subprocess): Remove unnecessary cast. + +2009-03-01 Bruno Haible + + Avoid a gcc warning. + * tests/test-sched.c (b): Make global. + Reported by Eric Blake. + +2009-01-19 Martin Lambers + + Provide POSIX semantics for socket timeout options on W32. + * lib/setsockopt.c: Convert struct timeval to milliseconds on W32. + * lib/getsockopt.c: Convert milliseconds to struct timeval on W32. + * modules/setsockopt: Depend on sys_time module for struct timeval. + * modules/getsockopt: Depend on sys_time module for struct timeval. + +2009-03-01 Simon Josefsson + + * lib/gai_strerror.c (values): Use EAI_INPROGRESS instead of + __USE_GNU, for consistency with netdb.in.h. + Reported by Alan Hourihane . + +2009-03-01 Bruno Haible + + More support for FreeMiNT. + * lib/fseeko.c (rpl_fseeko): Complete last commit. + Reported by Alan Hourihane . + +2009-03-01 Bruno Haible + + More support for FreeMiNT. + * lib/fpurge.c (fpurge): Correct last commit. + Reported by Alan Hourihane . + +2009-03-01 Ralf Wildenhues + + Fix unportable awk script in vc-list-files. + * build-aux/vc-list-files: In the replacement awk script, use + substr with a second argument of 1, not zero. + Report by Simon Josefsson. + +2009-02-28 Bruno Haible + + More support for FreeMiNT. + * lib/freading.c (freading) [__MINT__]: Use new macros that were added + to FreeMiNT today. + * lib/fwriting.c (fwriting): Likewise. + Based on patch by Alan Hourihane . + +2009-02-28 Bruno Haible + + * tests/test-freadseek.c (main): Disable test beyond end of file on + FreeMiNT. + * tests/test-ftello.c (main): Likewise. + Patch by Alan Hourihane . + +2009-02-28 Bruno Haible + + Add tentative support for FreeMiNT. + * lib/fbufmode.c (fbufmode) [__MINT__]: Add conditional code. + * lib/fpurge.c (fpurge): Likewise. + * lib/freadable.c (freadable): Likewise. + * lib/freading.c (freading): Likewise. + * lib/freadptr.c (freadptr): Likewise. + * lib/freadseek.c (freadptrinc): Likewise. + * lib/fseeko.c (rpl_fseeko): Likewise. + * lib/fseterr.c (fseterr): Likewise. + * lib/fwritable.c (fwritable): Likewise. + * lib/fwriting.c (fwriting): Likewise. + * lib/freadahead.c (freadahead): Likewise, based on code by Alan + Hourihane. + Reported by Alan Hourihane . + +2009-02-28 Bruno Haible + + * lib/wait-process.h (wait_subprocess): Clarify restriction regarding + SIGCHLD. + Reported by Jim Meyering. + +2009-02-28 Bruno Haible + + * m4/printf.m4 (gl_PRINTF_DIRECTIVE_LS): Separate the two first tests. + Mention the results of these tests on various platforms. + * doc/posix-functions/fprintf.texi: Mention platforms in canonical + order. + * doc/posix-functions/printf.texi: Likewise. + * doc/posix-functions/snprintf.texi: Likewise. + * doc/posix-functions/sprintf.texi: Likewise. + * doc/posix-functions/vfprintf.texi: Likewise. + * doc/posix-functions/vprintf.texi: Likewise. + * doc/posix-functions/vsnprintf.texi: Likewise. + * doc/posix-functions/vsprintf.texi: Likewise. + * doc/glibc-functions/obstack_printf.texi: Likewise. + * doc/glibc-functions/obstack_vprintf.texi: Likewise. + +2009-02-28 Bruno Haible + + * build-aux/po/Makefile.in.in: Update from GNU gettext 0.17. + Reported by Loïc Minier . + +2009-02-27 Bruno Haible + + * gnulib-tool (func_import): Make the sed expression used to create the + sed script for updating the .gitignore file POSIX compliant. + Reported by Eric Blake. + +2009-02-27 Bruno Haible + + * gnulib-tool (sed): Don't alias as "sed --posix". + Reported by Eric Blake. + +2009-02-27 Bruno Haible + + Avoid test link errors. + * modules/uninorm/nfc-tests (test_u32_nfc_big_LDADD): New variable. + * modules/uninorm/nfd-tests (test_u32_nfd_big_LDADD): New variable. + * modules/uninorm/nfkc-tests (test_u32_nfkc_big_LDADD): New variable. + * modules/uninorm/nfkd-tests (test_u32_nfkd_big_LDADD): New variable. + Reported by Tom G. Christensen . + +2009-02-27 Bruno Haible + + Avoid spurious "(cached)" in configure output. + * m4/gnulib-common.m4 (gl_CACHE_VAL_SILENT): New macro. + * m4/ceil.m4 (gl_FUNC_CEIL_LIBS): Use it instead of AC_CACHE_VAL. + * m4/ceilf.m4 (gl_FUNC_CEILF_LIBS): Likewise. + * m4/ceill.m4 (gl_FUNC_CEILL_LIBS): Likewise. + * m4/floor.m4 (gl_FUNC_FLOOR_LIBS): Likewise. + * m4/floorf.m4 (gl_FUNC_FLOORF_LIBS): Likewise. + * m4/floorl.m4 (gl_FUNC_FLOORL_LIBS): Likewise. + * m4/stdarg.m4 (gl_STDARG_H): Likewise. + Reported by Eric Blake. + +2009-02-27 Eric Blake + + printf: fix regression in previous patch + * m4/printf.m4 (gl_PRINTF_DIRECTIVE_LS): Fix compilation error. + +2009-02-27 Bruno Haible + + * lib/inttypes.in.h: Test merely whether _LP64 is defined, not its + value. + * lib/stdint.in.h: Likewise. + Suggested by Eric Blake. Reported by Peter Bray . + +2009-02-27 Eric Blake + + doc: mention more functions added in cygwin 1.7.0 + * doc/posix-functions/mbsnrtowcs.texi: Mention recent cygwin 1.7.0 + addition. + * doc/posix-functions/open_wmemstream.texi: Likewise. + * doc/posix-functions/wcsnlen.texi: Likewise. + * doc/posix-functions/wcsnrtombs.texi: Likewise. + * doc/posix-functions/wcstod.texi: Likewise. + * doc/posix-functions/wcstof.texi: Likewise. + * doc/posix-functions/wcstoimax.texi: Likewise. + * doc/posix-functions/wcstok.texi: Likewise. + * doc/posix-functions/wcstoumax.texi: Likewise. + + Detect bug in cygwin 1.5.x *printf on 1-character %ls. + * m4/printf.m4 (gl_PRINTF_DIRECTIVE_LS): Enhance filter. + * doc/posix-functions/fprintf.texi: Update. + * doc/posix-functions/printf.texi: Update. + * doc/posix-functions/snprintf.texi: Update. + * doc/posix-functions/sprintf.texi: Update. + * doc/posix-functions/vfprintf.texi: Update. + * doc/posix-functions/vprintf.texi: Update. + * doc/posix-functions/vsnprintf.texi: Update. + * doc/posix-functions/vsprintf.texi: Update. + * doc/glibc-functions/obstack_printf.texi: Update. + * doc/glibc-functions/obstack_vprintf.texi: Update. + +2009-02-26 Eric Blake + + avoid gcc 3.4.3 bug on long double NaN on Irix 6.5 + * tests/nan.h (NaNl): Rewrite as function on Irix, to avoid + compilation bug by using runtime conversion. + * m4/isfinite.m4 (gl_ISFINITE): Likewise. + * m4/isnanl.m4 (gl_FUNC_ISNANL): Likewise. + * modules/ceill-tests (Files): Use nan.h. + * modules/floorl-tests (Files): Likewise. + * modules/frexpl-tests (Files): Likewise. + * modules/isnanl-tests (Files): Likewise. + * modules/ldexpl-tests (Files): Likewise. + * modules/roundl-tests (Files): Likewise. + * modules/truncl-tests (Files): Likewise. + * tests/test-ceill.c (main): Use a working NaN. + * tests/test-floorl.c (main): Likewise. + * tests/test-frexpl.c (main): Likewise. + * tests/test-isnan.c (test_long_double): Likewise. + * tests/test-isnanl.h (main): Likewise. + * tests/test-ldexpl.h (main): Likewise. + * tests/test-roundl.h (main): Likewise. + * tests/test-truncl.h (main): Likewise. + See http://lists.gnu.org/archive/html/bug-gnulib/2009-02/msg00190.html. + +2009-02-26 Eric Blake + Bruno Haible + + Work around a *printf bug with %ls on Solaris. + * m4/printf.m4 (gl_PRINTF_DIRECTIVE_LS): Also test whether, when a + precision is specified, sprintf stops converting the wide string + argument when the number of bytes that have been produced by this + conversion equals or exceeds the precision. + * doc/posix-functions/fprintf.texi: Update. + * doc/posix-functions/printf.texi: Update. + * doc/posix-functions/snprintf.texi: Update. + * doc/posix-functions/sprintf.texi: Update. + * doc/posix-functions/vfprintf.texi: Update. + * doc/posix-functions/vprintf.texi: Update. + * doc/posix-functions/vsnprintf.texi: Update. + * doc/posix-functions/vsprintf.texi: Update. + * doc/glibc-functions/obstack_printf.texi: Update. + * doc/glibc-functions/obstack_vprintf.texi: Update. + +2009-02-26 Eric Blake + + stdlib: favor compiler check of random.h + * m4/stdlib_h.m4 (gl_STDLIB_H): Skip preprocessor check. Needed + to avoid an ObjC random.h installed by Swarm. + +2009-02-26 Bruno Haible + + Work around *printf bug with %g directive and 0.0 on HP-UX 10.20. + * m4/printf.m4 (gl_PRINTF_INFINITE): Also test for %g output of -0.0. + Reported by Gary V. Vaughan . + +2009-02-26 Bruno Haible + + Fix *printf behaviour regarding the %ls directive. + * m4/printf.m4 (gl_PRINTF_DIRECTIVE_LS): New macro. + * lib/vasnprintf.c (local_wcslen, VASNPRINTF): Handle + NEED_PRINTF_DIRECTIVE_LS. + * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_LS): New macro. + (gl_PREREQ_VASNPRINTF_WITH_EXTRAS): Invoke it. + * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Invoke + gl_PREREQ_VASNPRINTF_DIRECTIVE_LS and test its result. Invoke + gl_PREREQ_VASNPRINTF_DIRECTIVE_LS. + * m4/dprintf-posix.m4 (gl_FUNC_DPRINTF_POSIX): Likewise. + * m4/obstack-printf-posix.m4 (gl_FUNC_OBSTACK_PRINTF_POSIX): Likewise. + * 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/vdprintf-posix.m4 (gl_FUNC_VDPRINTF_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. + * doc/posix-functions/fprintf.texi: Update. + * doc/posix-functions/printf.texi: Update. + * doc/posix-functions/snprintf.texi: Update. + * doc/posix-functions/sprintf.texi: Update. + * doc/posix-functions/vfprintf.texi: Update. + * doc/posix-functions/vprintf.texi: Update. + * doc/posix-functions/vsnprintf.texi: Update. + * doc/posix-functions/vsprintf.texi: Update. + * doc/glibc-functions/obstack_printf.texi: Update. + * doc/glibc-functions/obstack_vprintf.texi: Update. + Reported by Eric Blake. + +2009-02-25 Bruno Haible + + * m4/mbrtowc.m4 (gl_MBRTOWC_NUL_RETVAL): Update guess for Solaris 8 + with known value. + Reported by Gary V. Vaughan . + +2009-02-25 Bruno Haible + + Work around mbrtowc bug in zh_CN.GB18030 locale on Solaris 8. + * m4/mbrtowc.m4 (gl_MBRTOWC_SANITYCHECK): New macro. + (gl_MBSTATE_T_BROKEN): Invoke it. Replace mbstate_t when it says "no". + * doc/posix-functions/mbrtowc.texi: Document the Solaris 8 bug. + Reported by Gary V. Vaughan . + +2009-02-25 Bruno Haible + + Work around broken INT8_MAX, UINT8_MAX etc. values on HP-UX 11.23. + * m4/stdint.m4 (gl_STDINT_H): Also check whether the expansions of + INT8_MAX, UINT8_MAX etc. contain casts to elementary types. + * doc/posix-headers/stdint.texi: Mention the HP-UX bug. + Reported by Gary V. Vaughan . + +2009-02-25 Eric Blake + + tests: skip fseek/ftell tests if ungetc is broken + * m4/ungetc.m4: New file. + * modules/fseek-tests: Split test, so ungetc dependency is + separate from rest of test. + * modules/fseeko-tests: Likewise. + * modules/ftell-tests: Likewise. + * modules/ftello-tests: Likewise. + * tests/test-fseek.c (main): Isolate ungetc dependency. + * tests/test-fseeko.c (main): Likewise. + * tests/test-ftell.c (main): Likewise. + * tests/test-ftello.c (main): Likewise. + * tests/test-fseek2.sh: New file. + * tests/test-fseeko2.sh: Likewise. + * tests/test-ftell2.sh: Likewise. + * tests/test-ftello2.sh: Likewise. + +2009-02-25 Ondřej Vašík + + test-getaddrinfo: fix usage of skip return code 77 + * tests/test-gettaddrinfo.c: Return skip code 77 only + for first occurance of skip (4x77 is not 77) + +2009-02-25 Gary V. Vaughan + + strtod: avoid C99 decl-after-statement + * m4/strtod.m4 (gl_FUNC_STRTOD): Rearrange declaration. + +2009-02-24 Eric Blake + + strtod: detect HP-UX 11.31 bug + * m4/strtod.m4 (gl_FUNC_STRTOD): Detect errno handling bug. + Reported by Gary V. Vaughan. + +2009-02-23 Bruno Haible + + Fix invalid read past end of memory block. + * lib/vasnprintf.c (DCHAR_SET): Define. + (local_wcslen): Define only when needed. + (local_strnlen, local_wcsnlen): New functions. + (VASNPRINTF) [!USE_SNPRINTF && HAVE_WCHAR_T]: Implement the %s and %ls + directives that involve a conversion ourselves. + * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for strnlen, + wcsnlen, mbrtowc, wcrtomb. + * tests/test-vasnprintf-posix.c (test_function): Add tests for %.*s. + * tests/test-vasprintf-posix.c (test_function): Likewise. + * tests/test-snprintf-posix.h (test_function): Likewise. + * tests/test-sprintf-posix.h (test_function): Likewise. + Reported by Ben Pfaff . + +2009-02-22 Bruno Haible + + Implement new clarified decomposition of Hangul syllables. + * lib/uninorm/decomposition.c (uc_decomposition): For Hangul syllables + of type LTV, return only a pairwise decomposition. + * lib/uninorm/canonical-decomposition.c (uc_canonical_decomposition): + Likewise. + * tests/uninorm/test-decomposition.c (main): Updated expected result. + * tests/uninorm/test-canonical-decomposition.c (main): Likewise. + * tests/uninorm/test-compat-decomposition.c (main): Likewise. + +2009-02-22 Bruno Haible + + * lib/uninorm/u-normalize-internal.h (FUNC): At the end, handle + zero-length results and shrink excess allocated memory. + * tests/uninorm/test-u8-nfc.c (test_u8_nfc): Check empty string result. + * tests/uninorm/test-u8-nfd.c (test_u8_nfd): Likewise. + * tests/uninorm/test-u8-nfkc.c (test_u8_nfkc): Likewise. + * tests/uninorm/test-u8-nfkd.c (test_u8_nfkd): Likewise. + * tests/uninorm/test-u16-nfc.c (test_u16_nfc): Likewise. + * tests/uninorm/test-u16-nfd.c (test_u16_nfd): Likewise. + * tests/uninorm/test-u16-nfkc.c (test_u16_nfkc): Likewise. + * tests/uninorm/test-u16-nfkd.c (test_u16_nfkd): Likewise. + * tests/uninorm/test-u32-nfc.c (test_u32_nfc): Likewise. + * tests/uninorm/test-u32-nfd.c (test_u32_nfd): Likewise. + * tests/uninorm/test-u32-nfkc.c (test_u32_nfkc): Likewise. + * tests/uninorm/test-u32-nfkd.c (test_u32_nfkd): Likewise. + +2009-02-21 Bruno Haible + + * doc/gnulib.texi: Include safe-alloc.texi earlier. + * doc/safe-alloc.texi: Terminate sentences with a period. Use two + spaces after a period. Put a space between a macro name and its + argument list. Trivial rewordings. + * lib/safe-alloc.c: Include safe-alloc.h right after config.h. + * tests/test-safe-alloc.c: Likewise. Include stdlib.h. + (main): Return 0 explicitly. + +2009-02-21 Bruno Haible + + Tests for module 'uninorm/filter'. + * tests/uninorm/test-uninorm-filter-nfc.c: New file. + * modules/uninorm/filter-tests: New file. + + New module 'uninorm/filter'. + * lib/uninorm.h (uninorm_filter_create, uninorm_filter_write, + uninorm_filter_flush, uninorm_filter_free): New declarations. + * lib/uninorm/uninorm-filter.c: New file. + * modules/uninorm/filter: New file. + +2009-02-21 Bruno Haible + + Tests for module 'uninorm/nfkc'. + * tests/uninorm/test-nfkc.c: New file. + * tests/uninorm/test-u8-nfkc.c: New file. + * tests/uninorm/test-u16-nfkc.c: New file. + * tests/uninorm/test-u32-nfkc.c: New file. + * tests/uninorm/test-u32-nfkc-big.sh: New file. + * tests/uninorm/test-u32-nfkc-big.c: New file. + * modules/uninorm/nfkc-tests: New file. + + New module 'uninorm/nfkc'. + * lib/uninorm/nfkc.c: New file. + * modules/uninorm/nfkc: New file. + + Tests for module 'uninorm/nfkd'. + * tests/uninorm/test-nfkd.c: New file. + * tests/uninorm/test-u8-nfkd.c: New file. + * tests/uninorm/test-u16-nfkd.c: New file. + * tests/uninorm/test-u32-nfkd.c: New file. + * tests/uninorm/test-u32-nfkd-big.sh: New file. + * tests/uninorm/test-u32-nfkd-big.c: New file. + * modules/uninorm/nfkd-tests: New file. + + New module 'uninorm/nfkd'. + * lib/uninorm/nfkd.c: New file. + * modules/uninorm/nfkd: New file. + + Tests for module 'uninorm/nfc'. + * tests/uninorm/test-nfc.c: New file. + * tests/uninorm/test-u8-nfc.c: New file. + * tests/uninorm/test-u16-nfc.c: New file. + * tests/uninorm/test-u32-nfc.c: New file. + * tests/uninorm/test-u32-nfc-big.sh: New file. + * tests/uninorm/test-u32-nfc-big.c: New file. + * modules/uninorm/nfc-tests: New file. + + New module 'uninorm/nfc'. + * lib/uninorm/nfc.c: New file. + * modules/uninorm/nfc: New file. + + Tests for module 'uninorm/nfd'. + * tests/uninorm/test-nfd.c: New file. + * tests/uninorm/test-u8-nfd.c: New file. + * tests/uninorm/test-u16-nfd.c: New file. + * tests/uninorm/test-u32-nfd.c: New file. + * tests/uninorm/test-u32-nfd-big.sh: New file. + * tests/uninorm/test-u32-nfd-big.c: New file. + * tests/uninorm/test-u32-normalize-big.h: New file. + * tests/uninorm/test-u32-normalize-big.c: New file. + * tests/uninorm/NormalizationTest.txt: New file, created from + Unicode 5.1.0 NormalizationTest.txt. + * modules/uninorm/nfd-tests: New file. + + New module 'uninorm/nfd'. + * lib/uninorm/nfd.c: New file. + * modules/uninorm/nfd: New file. + + New module 'uninorm/u32-normalize'. + * lib/uninorm/u32-normalize.c: New file. + * modules/uninorm/u32-normalize: New file. + + New module 'uninorm/u16-normalize'. + * lib/uninorm/u16-normalize.c: New file. + * modules/uninorm/u16-normalize: New file. + + New module 'uninorm/u8-normalize'. + * lib/uninorm/u8-normalize.c: New file. + * lib/uninorm/normalize-internal.h: New file. + * lib/uninorm/u-normalize-internal.h: New file. + * modules/uninorm/u8-normalize: New file. + + New module 'uninorm/decompose-internal'. + * lib/uninorm/decompose-internal.c: New file. + * modules/uninorm/decompose-internal: New file. + + Tests for module 'uninorm/composition'. + * tests/uninorm/test-composition.c: New file. + * modules/uninorm/composition-tests: New file. + + New module 'uninorm/composition'. + * lib/uninorm/composition.c: New file. + * lib/uninorm/composition-table.gperf: New file, generated by + gen-uni-tables. + * modules/uninorm/composition: New file. + + Tests for module 'uninorm/compat-decomposition'. + * tests/uninorm/test-compat-decomposition.c: New file. + * modules/uninorm/compat-decomposition-tests: New file. + + New module 'uninorm/compat-decomposition'. + * lib/uninorm/decompose-internal.h: New file. + * lib/uninorm/compat-decomposition.c: New file. + * modules/uninorm/compat-decomposition: New file. + + Tests for module 'uninorm/canonical-decomposition'. + * tests/uninorm/test-canonical-decomposition.c: New file. + * modules/uninorm/canonical-decomposition-tests: New file. + + New module 'uninorm/canonical-decomposition'. + * lib/uninorm/canonical-decomposition.c: New file. + * modules/uninorm/canonical-decomposition: New file. + + Tests for module 'uninorm/decomposition'. + * tests/uninorm/test-decomposition.c: New file. + * modules/uninorm/decomposition-tests: New file. + + New module 'uninorm/decomposition'. + * lib/uninorm/decomposition.c: New file. + * modules/uninorm/decomposition: New file. + + New module 'uninorm/decomposition-table'. + * lib/uninorm/decomposition-table.h: New file. + * lib/uninorm/decomposition-table.c: New file. + * lib/uninorm/decomposition-table1.h: New file, generated by + gen-uni-tables. + * lib/uninorm/decomposition-table2.h: New file, generated by + gen-uni-tables. + * modules/uninorm/decomposition-table: New file. + + * lib/gen-uni-tables.c (MAX_DECOMP_LENGTH): New macro. + (UC_DECOMP_*): New enumeration items. + (get_decomposition): New function. + (struct decomp_table): New type. + (output_decomposition, output_decomposition_tables): New functions. + (unicode_composition_exclusions): New variable. + (fill_composition_exclusions, debug_output_composition_tables): New + functions. + (main): Accept one more argument. Invoke fill_composition_exclusions. + Output decomposition and composition tables. + + New module 'uninorm/base'. + * lib/uninorm.h: New file. + * lib/unictype.h: Update comment. + * modules/uninorm/base: New file. + +2009-02-21 David Lutterkort + + Tests for module 'safe-alloc'. + * tests/test-safe-alloc.c: New file. + * modules/safe-alloc-tests: New file. + + New module 'safe-alloc'. + * lib/safe-alloc.h: New file. + * lib/safe-alloc.c: New file. + * m4/safe-alloc.m4: New file. + * modules/safe-alloc: New file. + * doc/safe-alloc.texi: New file. + * doc/gnulib.texi: Include it. + * MODULES.html.sh (Memory management functions ): Add + safe-alloc. + +2009-02-18 Bruno Haible + + Fix link error on non-glibc systems. + * modules/uniwbrk/ulc-wordbreaks-tests (test_ulc_wordbreaks_LDADD): New + variable. + Reported by Tom G. Christensen . + +2009-02-18 Jim Meyering + + fts: avoid used-uninitialized error due to recent change + * lib/fts.c (fts_read): Guard uses of the new member, + parent->fts_n_dirs_remaining, since it's not relevant for + the parent of a directory specified on the command-line. + +2009-02-17 James Youngman + Bruno Haible + + * m4/include_next.m4: Reformulate comment. + +2009-02-16 Jim Meyering + + fts: add #if guards so that the fts_lgpl module still builds + * lib/fts.c: Guard just-added hash-table-using parts with + #if GNULIB_FTS, so as not to break builds of the fts_lgpl module. + Reported by Simon Josefsson. + +2009-02-15 Bruno Haible + + * modules/array-mergesort-tests: New file. + * tests/test-array-mergesort.c: New file. + + New module 'array-mergesort'. + * modules/array-mergesort: New file. + * lib/array-mergesort.h: New file. + +2009-02-15 Bruno Haible + + Fix 2009-02-07 commit. + * lib/gen-uni-tables.c (output_predicate, output_category, + output_combclass, output_bidi_category, output_decimal_digit, + output_digit, output_numeric, output_mirror, output_scripts, + output_ident_category, output_simple_mapping): Fix format directives. + (output_lbp, output_wbp): Don't convert -1 to a size_t implicitly. + +2009-02-15 Albert Chin-A-Young + + * m4/include_next.m4: Update comment about IBM C 9.0/10.1 bug, now that + fixes are available from IBM. + +2009-02-13 Jim Meyering + + fts: arrange not to stat non-directories in more cases + This makes GNU find (when it doesn't need to stat each file) + *much* more efficient at traversing reiserfs file systems. + * lib/fts_.h (struct ftsent) [fts_n_dirs_remaining]: New member. + (struct FTS) [fts_leaf_optimization_works_ht]: Add member. + * lib/fts.c (fts_close): Free ->fts_leaf_optimization_works_ht. + (S_MAGIC_REISERFS, S_MAGIC_PROC): Define. + (leaf_optimization_applies): New function. + (LCO_hash, LCO_compare): New helper functions. + (link_count_optimize_ok): New function. + (fts_stat): Initialize new member (if dir). + (fts_read): Decrement parent's fts_n_dirs_remaining count if + we've just stat'ed a directory. Skip the stat call when possible. + --- + Note this AFS-related exchange: + http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=143111 + and note find's pioctl call in find/fstype.c. + But that is necessary only if you want to enable the + optimization for AFS, and for now, I don't. + + fts: move a function definition "up" (no semantic change) + * lib/fts.c (dirent_inode_sort_may_be_useful): Move definition + "up" to precede upcoming use of a related function. + +2009-02-11 Jim Meyering + + fts: correct internal computation of nlinks (optimization-related) + * lib/fts.c (fts_build): ISSET(FTS_NOSTAT) has no bearing on + whether the current entry is a directory, so don't test it. + +2009-02-10 Bruno Haible + + Tests for module 'uniwbrk/ulc-wordbreaks'. + * modules/uniwbrk/ulc-wordbreaks-tests: New file. + * tests/uniwbrk/test-ulc-wordbreaks.sh: New file. + * tests/uniwbrk/test-ulc-wordbreaks.c: New file. + + Tests for module 'uniwbrk/u32-wordbreaks'. + * modules/uniwbrk/u32-wordbreaks-tests: New file. + * tests/uniwbrk/test-u32-wordbreaks.c: New file. + + Tests for module 'uniwbrk/u16-wordbreaks'. + * modules/uniwbrk/u16-wordbreaks-tests: New file. + * tests/uniwbrk/test-u16-wordbreaks.c: New file. + + Tests for module 'uniwbrk/u8-wordbreaks'. + * modules/uniwbrk/u8-wordbreaks-tests: New file. + * tests/uniwbrk/test-u8-wordbreaks.c: New file. + +2009-02-10 Bruno Haible + + * modules/uniwbrk/u8-wordbreaks (Depends-on): Add uniwbrk/wordbreak + property. + * modules/uniwbrk/u16-wordbreaks (Depends-on): Likewise. + * modules/uniwbrk/u32-wordbreaks (Depends-on): Likewise. + * modules/uniwbrk/ulc-wordbreaks (Depends-on): Add localcharset. + +2009-02-10 Simon Josefsson + + * m4/sockets.m4: Call AC_C_INLINE since sockets.h now can use + inline keywords. Reported by Bruno Haible . + +2009-02-10 Bruno Haible + + * lib/unilbrk/lbrktables.h: Renamed from lib/unilbrk/tables.h. + * lib/unilbrk/lbrktables.c: Renamed from lib/unilbrk/tables.c. + * modules/unilbrk/tables (Files, Makefile.am, Include): Update. + * lib/unilbrk/u8-possible-linebreaks.c: Update. + * lib/unilbrk/u16-possible-linebreaks.c: Likewise. + * lib/unilbrk/u32-possible-linebreaks.c: Likewise. + +2009-02-09 Simon Josefsson + + * lib/sockets.h (gl_fd_to_handle): New function. + + * tests/test-sockets.c: Call gl_fd_to_handle. + +2009-02-09 Bruno Haible + + * doc/havelib.texi: Document the conventions on bi-arch systems. + 2009-02-08 Bruno Haible Document the AC_LIB_LINKFLAGS macro.