X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=ChangeLog;h=e7d624b473217ae960e34133b98e0a0725ec23ed;hb=f908ffa5808d84915d960bc4817a44b66d49719b;hp=0dbca3640b500c9c8dd5d1608b4e794e96a1feaa;hpb=457a1aa19ee9d1c43de768511c448ccfb8d992e9;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 0dbca3640..e7d624b47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,371 @@ +2008-04-20 Bruno Haible + + * lib/isapipe.c: Port to native Windows platforms. + +2008-04-20 Bruno Haible + + * lib/gc-gnulib.c: Include before . + +2008-04-21 Eric Blake + + Work around preprocessors that don't handle UINTMAX_MAX. + * lib/memchr2.c (memchr2): Avoid embedded #if. + Reported by Alain Guibert, fix suggested by Bruno Haible. + +2008-04-21 Simon Josefsson + + * doc/posix-functions/strftime.texi (strftime): Explain better + Windows incompatibility. Suggested by Micah Cowan + . + +2008-04-20 Bruno Haible + + * modules/uniconv/u32-conv-to-enc (Depends-on): Add unistr/u32-mblen, + unistr/u8-mblen. + +2008-04-20 Bruno Haible + + Fix test failure on platforms with non-GNU iconv. + * lib/uniconv/u16-conv-to-enc.c (u16_to_u8_lenient): New function. + (U_TO_U8): Use it, rather than u16_to_u8. + * lib/uniconv/u-conv-to-enc.h (FUNC): Allow an incomplete sequence of + units at the end of the input string. + * modules/uniconv/u16-conv-to-enc (Depends-on): Update. + +2008-04-20 Bruno Haible + + * tests/uniconv/test-u8-conv-to-enc.c (main): Accept result == NULL + when the resulting length is 0. + * tests/uniconv/test-u16-conv-to-enc.c (main): Likewise. + +2008-04-20 Bruno Haible + + * m4/roundf.m4 (gl_FUNC_ROUNDF): Add test whether roundf actually + works. + * doc/posix-functions/roundf.texi: Mention roundf bug on mingw. + +2008-04-20 Bruno Haible + + * tests/test-tsearch.c (main): Don't use initstate if it is missing. + * modules/tsearch-tests (configure.ac): Test for initstate function. + +2008-04-20 Bruno Haible + + * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Also provided a substitute + for nlink_t if missing. + * tests/test-sys_stat.c: Check the existence of the nlink_t type. + +2008-04-19 Bruno Haible + + Work around snprintf bug on Linux libc5. + * m4/printf.m4 (gl_SNPRINTF_SIZE1): New macro. + * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Invoke + gl_SNPRINTF_SIZE1. + * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Likewise. + * m4/snprintf.m4 (gl_FUNC_SNPRINTF): Likewise. Replace snprintf if + that test failed. + * m4/vsnprintf.m4 (gl_FUNC_VSNPRINTF): Likewise. + * lib/vasnprintf.c (USE_SNPRINTF): Set to 0 on Linux libc5 systems. + * modules/snprintf (Files): Add m4/printf.m4. + * modules/vsnprintf (Files): Likewise. + * doc/posix-functions/snprintf.texi: Document Linux libc5 problem. + * doc/posix-functions/vsnprintf.texi: Likewise. + +2008-04-19 Bruno Haible + + * lib/vasnprintf.c (floorlog10l, floorlog10): Reduce maximum error + from 0.0058 to less than 10^-7. + +2008-04-19 Bruno Haible + + Fix rounding when a precision is given. + * lib/vasnprintf.c (is_borderline): New function. + (VASNPRINTF): For %e and %g, consider replacing the digits 10....0 with + 9...9x. + * tests/test-vasnprintf-posix.c (test_function): Test rounding with %f, + %e, %g. + * tests/test-vasprintf-posix.c (test_function): Likewise. + * tests/test-snprintf-posix.h (test_function): Likewise. + * tests/test-sprintf-posix.h (test_function): Likewise. + * tests/test-fprintf-posix.h (test_function): Test rounding with %f. + * tests/test-printf-posix.h (test_function): Likewise. + * tests/test-printf-posix.output: Update. + Reported by John Darrington via + Ben Pfaff . + +2008-04-18 Simon Josefsson + + * doc/posix-functions/strftime.texi (strftime): Clarify platform. + Suggested by Bruno Haible . + +2008-04-17 Bruno Haible + + * lib/lock.h (gl_lock_destroy, gl_rwlock_destroy, + gl_recursive_lock_destroy): Provide no-op definitions for the dummy + implementation. + Patch by Bruce Merry . + +2008-04-17 Simon Josefsson + + * doc/posix-functions/strftime.texi (strftime): Mention that %e + doesn't work under Windows. + +2008-04-16 Bruno Haible + + * lib/localename.c (LANG_MAORI, LANG_QUECHUA, LANG_SOTHO, LANG_UIGHUR): + New macros. + (SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN, + SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC, + SUBLANG_CROATIAN_CROATIA, SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN, + SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA, SUBLANG_MONGOLIAN_PRC, + SUBLANG_QUECHUA_BOLIVIA, SUBLANG_QUECHUA_ECUADOR, SUBLANG_QUECHUA_PERU, + SUBLANG_RUSSIAN_RUSSIA, SUBLANG_RUSSIAN_MOLDAVIA, SUBLANG_SPANISH_US, + SUBLANG_TIBETAN_PRC, SUBLANG_TIBETAN_BHUTAN, SUBLANG_UIGHUR_PRC): New + macros. + (gl_locale_name_from_win32_LANGID): Refine code for Croatian/Bosnian, + Mongolian, Russian, Spanish, Tibetan. Add code for Maori, Quechua, + Northern Sotho, Uighur. + +2008-04-16 Bruno Haible + + * lib/localename.c (SUBLANG_SINDHI_INDIA): New macro. + (SUBLANG_SINDHI_PAKISTAN): Change value from 1 to 2. + (gl_locale_name_from_win32_LANGID): Fix code for Sindhi. + Reported by Daniel Bergström . + +2007-12-25 KJK::Hyperion + Bruno Haible + + * lib/localename.c (gl_locale_name_canonicalize) [WIN32_NATIVE]: New + function. + (gl_locale_name_from_win32_LANGID, gl_locale_name_from_win32_LCID): + New functions, mostly extracted from gl_locale_name_default. + (gl_locale_name_default): Use gl_locale_name_from_win32_LCID. + +2008-04-16 Eric Blake + + Adjust strtod detection to catch glibc 2.7 bug. + * m4/strtod.m4 (gl_FUNC_STRTOD): Test "nan()" behavior. + Reported by John Gatewood Ham. + +2008-04-16 Bruno Haible + + Add tentative support for Linux libc5. + * lib/fbufmode.c (fbufmode) [__GNU_LIBRARY__==1]: Reuse glibc2 code. + * lib/fpurge.c (fpurge): Likewise. + * lib/freadable.c (freadable): Likewise. + * lib/freadahead.c (freadahead): 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. + Reported by Alain Guibert . + +2008-04-15 Bruno Haible + + * modules/mathl (configure.ac): Define module indicator. + +2008-04-15 Bruno Haible + + * lib/logl.c (logl): Remove unused variables. + +2008-04-15 Bruno Haible + + * lib/uniconv/u-conv-to-enc.h (FUNC): Fix return value when U_TO_U8 + fails. + +2008-04-15 Bruno Haible + + * lib/trim.c (trim2): Fix argument of isspace() macro. + +2008-04-15 Paolo Bonzini + + * lib/tanl.c (kernel_tanl): Rename flag to invert, initialize it + to 0. + * lib/trigl.c (ieee754_rem_pio2l): Fix range checks. + +2008-04-14 Bruno Haible + + * m4/calloc.m4 (_AC_FUNC_CALLOC_IF): Fix underquoting of + AC_LANG_PROGRAM argument. + * m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise. + * m4/gethrxtime.m4 (gl_ARITHMETIC_HRTIME_T): Likewise. + * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Likewise. + * m4/inttypes.m4 (gl_INTTYPES_H): Likewise. + * m4/math_h.m4 (gl_MATH_H): Likewise. + * m4/mbstate_t.m4 (AC_TYPE_MBSTATE_T): Likewise. + * m4/memmem.m4 (gl_FUNC_MEMMEM): Likewise. + * m4/netinet_in_h.m4 (gl_HEADER_NETINET_IN): Likewise. + * m4/physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): Likewise. + * m4/putenv.m4 (gl_FUNC_PUTENV): Likewise. + * m4/regex.m4 (gl_REGEX): Likewise. + * m4/stdint.m4 (gl_INTEGER_TYPE_SUFFIX): Likewise. + * m4/stdio_h.m4 (gl_STDIN_LARGE_OFFSET): Likewise. + * m4/strcasestr.m4 (gl_FUNC_STRCASESTR): Likewise. + * m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): Likewise. + * m4/strndup.m4 (gl_FUNC_STRNDUP): Likewise. + * m4/strstr.m4 (gl_FUNC_STRSTR): Likewise. + * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Likewise. + * m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Likewise. + +2008-04-14 Jim Meyering + + test-strtod: fix typos: s/abs/fabs/ + * tests/test-strtod.c (main): Use fabs, not narrowing-to-int "abs". + +2008-04-13 Bruno Haible + + Fix conflict between modules 'canonicalize' and 'canonicalize-lgpl'. + * lib/canonicalize-lgpl.c: Elide the contents if the 'canonicalize' + module is also used and while not building the reloc-wrapper. + +2008-04-13 Bruno Haible + + * tests/test-getaddrinfo.c (simple): Ignore EAI_NODATA error. + +2008-04-13 Bruno Haible + + Fix AIX compilation failure introduced on 2008-04-02. + * tests/test-frexp.c (exp): Undefine before redefining. + * tests/test-frexpl.c (exp): Likewise. + +2008-04-13 Bruno Haible + + Work around a HP-UX stdio bug. + * tests/test-ftell.c (main): Disable the fseek/ftell test on HP-UX. + * tests/test-ftello.c (main): Likewise. + * doc/posix-functions/ftell.texi: Mention HP-UX bug. + * doc/posix-functions/ftello.texi: Likewise. + +2008-04-13 Bruno Haible + + Make test-signbit pass on HP-UX/hppa. + * tests/test-signbit.c (minus_zerol): New variable. + (test_signbitl): Use it. + +2008-04-13 Bruno Haible + + Make truncl work on OSF/1 4.0. + * m4/truncl.m4 (gl_FUNC_TRUNCL): Test whether truncl actually works. + Set REPLACE_TRUNCL, not HAVE_DECL_TRUNCL. + * lib/math.in.h (truncl): Test REPLACE_TRUNCL, not HAVE_DECL_TRUNCL. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_TRUNCL, not + HAVE_DECL_TRUNCL. + * modules/math (Makefile.am): Substitute REPLACE_TRUNCL, not + HAVE_DECL_TRUNCL. + * doc/posix-functions/truncl.texi: Document the OSF/1 4.0 problem. + +2008-04-13 Bruno Haible + + * lib/unictype.h: Remove trailing comma from enumeration definitions. + +2008-04-13 Bruno Haible + + * lib/count-one-bits.h (COUNT_ONE_BITS): Rewrite verification + expression, so as to avoid HP-UX 11 cc compiler bug. + +2008-04-13 Bruno Haible + + * m4/regex.m4 (gl_PREREQ_REGEX): Also check for . + +2008-04-13 Bruno Haible + + * lib/git-merge-changelog.c: Remove empty declaration outside of + functions. + +2008-04-13 Bruno Haible + + * modules/quotearg-tests (Makefile.am): Define test_quotearg_LDADD. + +2008-04-13 Bruno Haible + + * doc/posix-headers/sys_socket.texi: Document the problem on EMX. + * lib/sys_socket.in.h (SHUT_RD, SHUT_WR, SHUT_RDWR): Define if missing. + * m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Replace + also if it exists but lacks definitions of the SHUT_* macros. + * modules/sys_socket (Description): Update. + Reported by Elbert Pol . + +2008-04-13 Bruno Haible + + * lib/localcharset.c (OS2): Don't redefine if already defined. + Reported by Elbert Pol . + +2008-04-13 Bruno Haible + + * lib/binary-io.h [__EMX__]: Include . + Reported by Elbert Pol . + +2008-04-12 Bruno Haible + + * lib/fpucw.h: Enable the definitions also for x86_64. + Needed for NetBSD/x86_64. + Reported by Thomas Klausner . + +2008-04-12 Bruno Haible + + * tests/test-strtod.c: Include isnand.h. + (main): Use isnand instead of isnan. + Reported by Jim Meyering. + +2008-04-12 Bruno Haible + + * m4/isnanf.m4 (gl_ISNANF_WORKS): Add a test for a special NaN. + Reported by Nelson H. F. Beebe . + +2008-04-12 Jim Meyering + + * m4/math_h.m4 (gl_MATH_H): Fix typos. + +2008-04-12 Bruno Haible + + * lib/freadptr.c (freadptr) [__EMX__]: Fix wrong assertion. + Reported by Elbert Pol . + +2008-04-12 Eric Blake + + Work around Solaris 10 math.h bug. + * m4/math_h.m4 (gl_MATH_H): Check for bug. + (gl_MATH_H_DEFAULTS): Set up default. + * modules/math (Makefile.am): Replace new indicators. + * lib/math.in.h (NAN, HUGE_VAL): Provide replacements. + * tests/test-math.c (main): Test this. + * m4/strtod.m4 (gl_FUNC_STRTOD): Don't rely on HUGE_VAL. + * doc/posix-headers/math.texi (math.h): Mention bug. + Reported by Nelson H. F. Beebe and Jim Meyering. + +2008-04-11 Bruno Haible + + Adapt to future versions of Apple GCC. + * lib/argp-fmtstream.h (ARGP_FS_EI): Don't test __GNUC_GNU_INLINE__. + Reported by Peter O'Gorman . + +2008-04-11 Bruno Haible + + * tests/test-getaddrinfo.c (simple): Ignore EAI_NONAME error. + +2008-04-11 Bruno Haible + + * modules/strsignal-tests (Makefile.am): Define test_strsignal_LDADD. + + * modules/getaddrinfo-tests (Makefile.am): Define + test_getaddrinfo_LDADD. + +2008-04-11 Bruno Haible + + * lib/strsignal.c (_sys_siglist): Don't declare if already declared. + (init): Fix syntax error. + * m4/strsignal.m4 (gl_PREREQ_STRSIGNAL): Check whether _sys_siglist + is declared. + +2008-04-11 Bruno Haible + + * lib/glob.c: Include . Needed at least with IRIX cc. + * modules/glob (Depends-on): Add stdbool. + 2008-04-11 Bruno Haible * lib/trim.c: Include . @@ -11,8 +379,7 @@ 2008-04-11 Bruno Haible - Flush the standard error stream before aborting. Needed on netlabs.org - klibc (derived from emx+gcc libc) and mingw. + Flush the standard error stream before aborting. Needed on mingw. * tests/test-argmatch.c (ASSERT): Call fflush(stderr) before abort(). * tests/test-array_list.c (ASSERT): Likewise. * tests/test-array_oset.c (ASSERT): Likewise.