X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=eb1838a7592517f1f8dd7ec5c8307530d637b8e6;hb=07784ae4244d8b09651185f26699c213ac693b8d;hp=20ffd3fb22efa38aaed3d7643c05af8ebb4fc545;hpb=076e99e2af11eb12b976dd1d936c6ebab6ece27f;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 20ffd3fb2..eb1838a75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,294 @@ +2007-03-30 Paul Eggert + + * lib/write-any-file.c (can_write_any_file): Fix else-else bug + reported by Bruno Haible. + +2007-03-29 Bruno Haible + + * m4/iconv.m4 (AM_ICONV_LINK): Require AC_CANONICAL_HOST. Test against + a bug in AIX iconv(). + +2007-03-29 Bruno Haible + + * modules/ldexpl-tests: New file. + * tests/test-ldexpl.c: New file. + +2007-03-29 Bruno Haible + + * lib/ldexpl.c: Include fpucw.h. + (ldexpl): Use BEGIN/END_LONG_DOUBLE_ROUNDING. Skip the last unneeded + multiplication. + * modules/ldexpl (Depends-on): Add fpucw. + +2007-03-29 Bruno Haible + + * modules/ldexpl: New file. + * m4/ldexpl.m4: New file. + * lib/math_.h (ldexpl): Define to a replacement if REPLACE_LDEXPL is + set. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize also GNULIB_LDEXPL, + REPLACE_LDEXPL. + * modules/math (Makefile.am): Substitute also GNULIB_LDEXPL, + REPLACE_LDEXPL. + * m4/printf-frexpl.m4 (gl_FUNC_PRINTF_FREXPL): Invoke + gl_FUNC_LDEXPL_WORKS. + * m4/mathl.m4 (gl_FUNC_LONG_DOUBLE_MATH): Remove test for ldexpl. + * modules/mathl (Files): Remove lib/ldexpl.c. + (Depends-on): Add ldexpl. + +2007-03-29 Bruno Haible + + * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Declare frexpl. + +2007-03-29 Bruno Haible + + * tests/test-striconveh.c (main): Don't assume that a direct conversion + between ISO-8859-1 and ISO-8859-2 is possible. Needed for OSF/1, IRIX + and possibly also HP-UX. + * tests/test-striconveha.c (main): Don't expect "autodetect_jp" to + work on AIX, IRIX, HP-UX, OSF/1. + * tests/uniconv/test-u16-conv-from-enc.c (main): Likewise. + * tests/uniconv/test-u16-strconv-from-enc.c (main): Likewise. + * tests/uniconv/test-u32-conv-from-enc.c (main): Likewise. + * tests/uniconv/test-u32-strconv-from-enc.c (main): Likewise. + * tests/uniconv/test-u8-conv-from-enc.c (main): Likewise. + * tests/uniconv/test-u8-strconv-from-enc.c (main): Likewise. + +2007-03-29 Bruno Haible + + * tests/test-stat-time.c: Include , not . + +2007-03-29 Paul Eggert + + * lib/acl-internal.h (acl_get_fd, acl_set_fd): undef before defining, + to work around a problem on OSF/1 5.1 reported by Bruno Haible. + +2007-03-29 Eric Blake + + * lib/acl-internal.h: Remove redundant include. + (ACL_NOT_WELL_SUPPORTED): Also filter on EBUSY, returned by + Cygwin when a file is locked. + +2007-03-29 Bruno Haible + + * lib/vasprintf.c [IN_LIBASPRINTF]: Include different specification + file. + * lib/asprintf.c [IN_LIBASPRINTF]: Likewise. + +2007-03-29 Paul Eggert + + * m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Don't bother to + try to remove a parent directory if the child couldn't be removed + (except for the first rmdir, which could fail because the child + doesn't exist). Problem reported by Jeff Blaine in + . + +2007-03-28 Bruno Haible + + * lib/striconveh.c (utf8conv_carefully): New function. + (mem_cd_iconveh_internal): Invoke it. + +2007-03-28 Bruno Haible + + * lib/striconveh.c (mem_cd_iconveh_internal): Use u8_mbtoucr instead + of u8_mbtouc in order to distinguish invalid and incomplete UTF-8 + input. + * modules/striconveh (Depends-on): Add unistr/u8-mbtoucr. Replace + utf8-ucs4 with unistr/u8-mbtouc. Replace ucs4-utf8 with + unistr/u8-uctomb. + +2007-03-28 Bruno Haible + + * modules/unistr/u8-mbtoucr: New file. + * lib/unistr/u8-mbtoucr.c: New file. + * modules/unistr/u16-mbtoucr: New file. + * lib/unistr/u16-mbtoucr.c: New file. + * modules/unistr/u16-mbtoucr: New file. + * lib/unistr/u16-mbtoucr.c: New file. + * lib/unistr.h (u8_mbtoucr, u16_mbtoucr, u32_mbtoucr): New declarations. + +2007-03-27 Simon Josefsson + Bruno Haible + + * m4/vasprintf.m4: Convert AC_SUBST into shell variable for + REPLACE_VASPRINTF. Set HAVE_VASPRINTF. Add + AC_REQUIRE([gl_STDIO_H_DEFAULTS]). + + * m4/stdio_h.m4: Add stubs for vasprintf too. + + * modules/stdio: Support vasprintf in sed command. + + * modules/vasprintf: Depend on stdio for prototypes. Remove + vasprintf.h. Add stdio module indicator. + + * lib/stdio_.h: Declare asprintf and vasprintf, based on + vasprintf.h. + + * lib/vasprintf.h: File removed. + + * lib/asprintf.c: Use stdio.h instead of vasprintf.h. + * lib/vasprintf.c: Ditto. + * lib/xvasprintf.c: Ditto. + * tests/test-vasprintf-posix.c: Ditto. + * tests/test-vasprintf.c: Ditto. + +2007-03-27 Bruno Haible + + Make vasnprintf multithread-safe. + * lib/vasnprintf.c (decimal_point_char): New function. + (VASNPRINTF): Use it. + Suggested by Simon Josefsson. + +2007-03-27 Eric Blake + + Support sub-second birthtime on cygwin. + * m4/stat-time.m4 (gl_STAT_BIRTHTIME): Also check for st_birthtim. + * lib/stat-time.h (STAT_TIMESPEC): Adjust comments. + (get_stat_birthtime): Also work with st_birthtim. + +2007-03-27 Paul Eggert + + * lib/stat-time.h (USE_BIRTHTIME): Remove. + (get_stat_atime_ns, get_stat_ctime_ns, get_stat_mtime_ns): + (get_stat_birthtime_ns): Do not try to use "spare" fields. + (get_stat_birthtime_ns): Simplify compile-time tests. + (get_stat_birthtime): Change the API to look like + get_stat_mtime etc., except return a negative tv_nsec on error. + * m4/stat-time.m4 (gl_STAT_TIME, gl_STAT_BIRTHTIME): + Don't check for "spare" fields. + (gl_STAT_BIRTHTIME): Don't check for struct stat.st_birthtimespec.tv_sec + or for struct stat.st_birthtime, as these tests aren't used. + * tests/test-stat-time.c (test_birthtime): Adjust to new API. + +2007-03-27 Bruno Haible + + * lib/stat-time.h: Include . + +2007-03-27 James Youngman + + * lib/stat-time.h (get_stat_birthtime): New function for + retrieving st_birthtime as provided by UFS2 (hence *BSD). + * m4/stat-time.m4 (gl_STAT_BIRTHTIME): Probe for st_birthtime + and its variants. + * modules/stat-time (configure.ac): call gl_STAT_BIRTHTIME. + * modules/stat-time-test: New file. + * tests/test-stat-time.c: New test, devised by Bruno Haible. + +2007-03-26 Bruno Haible + + Better support of signalling NaNs. + * lib/atanl.c: Include isnanl.h. + (atanl): Perform test for NaN at the beginning of the function and + through a call to isnanl. + * lib/cosl.c: Include isnanl.h. + (cosl): Perform test for NaN at the beginning of the function and + through a call to isnanl. + * lib/ldexpl.c: Include isnanl.h. + (ldexpl): Perform test for NaN through a call to isnanl. + * lib/logl.c: Include isnanl.h. + (logl): Perform test for NaN at the beginning of the function and + through a call to isnanl. + * lib/sinl.c: Include isnanl.h. + (sinl): Perform test for NaN at the beginning of the function and + through a call to isnanl. + * lib/sqrtl.c: Include isnanl.h. + (sqrtl): Perform test for NaN at the beginning of the function and + through a call to isnanl. + * lib/tanl.c: Include isnanl.h. + (tanl): Perform test for NaN at the beginning of the function and + through a call to isnanl. + * lib/trigl.c (ieee754_rem_pio2l): Remove test for NaN. + * modules/mathl (Depends-on): Add isnanl. + +2007-03-26 Eric Blake + + * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): Fix + regression in logic sense of previous patch. + +2007-03-26 Bruno Haible + + * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_A): Don't use + unportable shell command "if ! ...". + Reported by Ralf Wildenhues. + +2007-03-25 Bruno Haible + + * lib/sysexit_,h: If HAVE_SYSEXITS_H is defined, include the original + file, and only add EX_CONFIG. + * m4/sysexits.m4 (gl_SYSEXITS): If exists, check its + absolute file name and whether it is sufficient. Substitute also + HAVE_SYSEXITS_H and ABSOLUTE_SYSEXITS_H. + * modules/sysexits (Makefile.am): Substitute HAVE_SYSEXITS_H and + ABSOLUTE_SYSEXITS_H into sysexits.h. + +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. @@ -119,7 +410,7 @@ * 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 @@ -248,6 +539,7 @@ * lib/unistr/u16-strchr.c: Likewise. * lib/unistr/u16-strrchr.c: Likewise. * lib/striconveh.c: Update. + * lib/linebreak.c: Update. 2007-03-24 Bruno Haible