X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=3a3244e6970bd2e9dbba4786041328fbe00b13de;hb=471cbb075f76e489fa96fad80bca65da7e01f683;hp=5dd2451dad95adb4d921849b2ebaf699dc71288c;hpb=39857ab5806b8ceffaf5aab75fb20a2e872268a9;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 5dd2451da..3a3244e69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,208 @@ +2009-01-28 Jim Meyering + + useless-if-before-free: recognize more variants + * build-aux/useless-if-before-free: Also recognize e.g., + if (NULL != p) free (p); + +2009-01-27 Mark McLoughlin + + test-getaddrinfo: skip (don't fail) this test when there's no network + * tests/test-getaddrinfo.c: Skip test upon failure with EAI_AGAIN, + on the presumption that it means you lack network access. + +2009-01-26 Jim Meyering + + fflush: avoid warnings on modern systems + * lib/fflush.c (rpl_fflush): Move declarations of locals, + pos and result, into scopes where they're used. + +2009-01-26 Eric Blake + + Silence warning reintroduced by recent extensions patch. + * m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS) + (gl_USE_SYSTEM_EXTENSIONS): Use AC_DEFUN_ONCE to silence newer + autoconf. + + Backport improved autoconf semantics of AC_DEFUN_ONCE. + * m4/00gnulib.m4: New file. + * gnulib-tool (func_get_filelist): Always use it. + * m4/gnulib-common.m4 (gl_COMMON): Force the file to be used. + Reported by Bruno Haible, with suggestions from Paolo Bonzini. + +2009-01-25 Bruno Haible + + Make test-quotearg work on MacOS X and AIX. + * tests/test-quotearg.sh: New file. + * tests/locale/fr/LC_MESSAGES/test-quotearg.po: New file. + * tests/locale/fr/LC_MESSAGES/test-quotearg.mo: New file. + * tests/test-quotearg.c: Include and gettext.h. Don't + include . + (fake_locale): Remove variable. + (gettext, dgettext, dcgettext): Remove functions. + (main): Instead of setting a fake locale, set a real locale. Call + textdomain and bindtextdomain. + * modules/quotearg-tests (Files): Add the new files. + (Depends-on): Add gettext, setenv, unsetenv. + (configure.ac): Invoke gt_LOCALE_FR and gt_LOCALE_FR_UTF8. + (Makefile.am): Add test-quotearg.sh to TESTS, remove test-quotearg. + Augment TESTS_ENVIRONMENT. + +2009-01-25 Bruno Haible + + * m4/locale-fr.m4 (gt_LOCALE_FR): Remove special code that hid the + fr_FR.ISO8859-1 locale on MacOS X. + * m4/locale-ja.m4 (gt_LOCALE_JA): Remove special code that hid the + ja_JP.eucJP locale on MacOS X. + * m4/locale-zh.m4 (gt_LOCALE_ZH_CN): Remove special code that hid the + zh_CN.GB18030 locale on MacOS X. + +2009-01-25 Bruno Haible + + Avoid link errors on MacOS X 10.3. + * lib/mbsrtowcs-state.c (_gl_mbsrtowcs_state): Add initializer. + * lib/wcsrtombs-state.c (_gl_wcsrtombs_state): Likewise. + +2009-01-25 Bruno Haible + + * lib/pipe.c: On Unix, assume HAVE_POSIX_SPAWN and use posix_spawnp. + * m4/pipe.m4 (gl_PIPE): Remove tests for vfork() based code. + * modules/pipe (Files): Remove m4/posix_spawn.m4. + (Depends-on): Add spawn, posix_spawnp, posix_spawn_file_actions_init, + posix_spawn_file_actions_addclose, posix_spawn_file_actions_adddup2, + posix_spawn_file_actions_addopen, posix_spawn_file_actions_destroy, + posix_spawnattr_init, posix_spawnattr_setsigmask, + posix_spawnattr_setflags, posix_spawnattr_destroy. + + * lib/execute.c: On Unix, assume HAVE_POSIX_SPAWN and use posix_spawnp. + * m4/execute.m4 (gl_EXECUTE): Remove tests for vfork() based code. + * modules/execute (Files): Remove m4/posix_spawn.m4. + (Depends-on): Add spawn, posix_spawnp, posix_spawn_file_actions_init, + posix_spawn_file_actions_addopen, posix_spawn_file_actions_destroy, + posix_spawnattr_init, posix_spawnattr_setsigmask, + posix_spawnattr_setflags, posix_spawnattr_destroy. + +2009-01-25 Bruno Haible + + * lib/glthread/threadlib.c: Include . + +2009-01-25 Bruno Haible + + * lib/glthread/threadlib.c (dummy): New declaration. + +2009-01-25 Bruno Haible + + * lib/mbrtowc.c (mbrtowc): Distinguish invalid and incomplete + multibyte characters also for the GB18030 encoding. Don't crash when + the encoding is unknown and nstate = 0. Needed on OSF/1 5.1. + +2009-01-25 Bruno Haible + + Avoid redefining 'struct random_data' on OSF/1 5.1. + * lib/stdlib.in.h: Include if it exists. + * m4/stdlib_h.m4 (gl_STDLIB_H): Test whether exists. Set + HAVE_RANDOM_H. Include when testing whether + 'struct random_data' exists. + * modules/stdlib (Makefile.am): Substitute HAVE_RANDOM_H. + +2009-01-25 Bruno Haible + + Don't install charset.alias on MacOS X >= 10.3. + * lib/localcharset.c (DARWIN7): New macro. + (get_charset_aliases): Hardcode the result for Darwin7. + * modules/localcharset (install-exec-local): Don't install + charset.alias on MacOS X >= 10.3, if the file does not yet exist. + +2009-01-25 Bruno Haible + + Don't install charset.alias on mingw and Cygwin. + * modules/localcharset (install-exec-local): Don't install + charset.alias on mingw and Cygwin, if the file does not yet exist. + The result for these platforms is hardcoded in localcharset.c. + +2009-01-25 Bruno Haible + + Make it possible again to use AC_GNU_SOURCE together with gnulib. + * m4/extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_GNU_SOURCE + before requiring AC_USE_SYSTEM_EXTENSIONS. + +2009-01-25 Jim Meyering + + c-strtod: avoid warnings + * lib/c-strtod.c (C_STRTOD): Cast nptr to (char *) to avoid + "assignment discards qualifiers from pointer target type" warnings. + +2009-01-24 Bruno Haible + + Add support for non-UTF-8 locales on MacOS X. + * lib/config.charset: Add CP1131, ARMSCII-8, PT154 to the list of + canonical encodings. For Darwin 7 and newer, don't map traditional + encodings to UTF-8. + Reported by Vincent Lefevre + at . + +2009-01-24 Bruno Haible + + * doc/gnulib.texi (Obsolete modules): New section. + Reported by Mike Frysinger . + +2009-01-24 Bruno Haible + + * doc/Makefile (%.pdf): Clarify where to find texmf.cnf. + (%.dvi): New rule. + +2009-01-24 Bruno Haible + + * lib/c-strtod.h (c_strtod, c_strtold): Adjust specification. + Reported by Eric Blake. + +2009-01-24 Bruno Haible + + * lib/c-stack.c (segv_handler): If !HAVE_XSI_STACK_OVERFLOW_HEURISTIC, + set signo = 0 also if info->si_code <= 0. Needed on HP-UX 11.11. + Reported by Gary V. Vaughan . + +2009-01-24 Bruno Haible + + * lib/c-strtod.h (c_strtod, c_strtold): Add specification. + +2009-01-23 Bruno Haible + + Make c-strtod, c-strtold usable in libraries. + * lib/c-strtod.c: Include string.h instead of xalloc.h. + (C_STRTOD): Call strdup instead of xstrdup. + * modules/c-strtod (Depends-on): Add strdup-posix, remove xalloc. + * modules/c-strtold (Depends-on): Likewise. + * doc/c-strtod.texi: Remove the sentence mentioning xalloc_die. + * NEWS: Mention the change. + Reported by Michael Gold . + +2009-01-23 Jim Meyering + + c-strtod: when ENDPTR is non-NULL, set *ENDPTR in new failure path + * lib/c-strtod.c (C_STRTOD) [LC_ALL_MASKC]: Ensure that when + ENDPTR is non-NULL, *ENDPTR is set to NPTR upon failure. + +2009-01-23 Simon Josefsson + + * lib/version-etc.c: Add emit_bug_reporting_address, inspired by + GNU CoreUtils. + * lib/version-etc.h: Add prototype for emit_bug_reporting_address. + * modules/version-etc (Description): Update. + +2009-01-22 Bruno Haible + + Cache the C locale object. + * lib/c-strtod.c (c_locale_cache): New variable. + (c_locale): New function. + (C_STRTOD): Use it, and don't call freelocale. + * m4/c-strtod.m4 (gl_C_STRTOD, gl_C_STRTOLD): Require AC_C_INLINE. + Suggested by Paolo Bonzini. + +2009-01-21 Bruno Haible + + * lib/getloadavg.c (getloadavg): Check c_strtod result against error + conditions other than overflow. + 2009-01-21 Bruno Haible * lib/c-strtod.c: Include errno.h.