X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=5b15089481a64d93735c40c35c71e4bee5631561;hb=e6c02ad4130f9376bd8389c7aa8a975df3587828;hp=57272542ad2c3114bc1a226746300d1e77f60282;hpb=252c176ef5de7f3a1225a313331e52d157e034f7;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 57272542a..5b1508948 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,207 @@ +2007-11-11 Bruno Haible + + * m4/round.m4 (gl_FUNC_ROUND): Test against NetBSD 3.0 bug. + * doc/functions/round.texi: Mention the NetBSD 3.0 bug. + +2007-11-11 Bruno Haible + + * tests/test-argmatch.c (ARGMATCH_DIE): Undefine. + (usage): Remove function. + +2007-11-11 Bruno Haible + + * m4/roundf.m4 (gl_FUNC_ROUNDF): Use gl_FUNC_FLOORF_LIBS and + gl_FUNC_CEILF_LIBS. + * m4/round.m4 (gl_FUNC_ROUND): Use gl_FUNC_FLOOR_LIBS and + gl_FUNC_CEIL_LIBS. + * m4/roundl.m4 (gl_FUNC_ROUNDL): Use gl_FUNC_FLOORL_LIBS and + gl_FUNC_CEILL_LIBS. + * modules/roundf (Files): Add m4/floorf.m4, m4/ceilf.m4. + * modules/round (Files): Add m4/floor.m4, m4/ceil.m4. + * modules/roundl (Files): Add m4/floorl.m4, m4/ceill.m4. + +2007-11-11 Bruno Haible + + * m4/roundf.m4 (gl_FUNC_ROUNDF): Handle the case that floorf and + roundf were declared but do not exist on functions. + * m4/roundl.m4 (gl_FUNC_ROUNDL): Handle the case that floorl and + roundl were declared but do not exist on functions. + * lib/round.c (HAVE_FLOOR_AND_CEIL): Use HAVE_FLOORF_AND_CEILF and + HAVE_FLOORL_AND_CEILL, respectively. + Needed for Sun C on Solaris 10. + +2007-11-11 Bruno Haible + + * m4/roundf.m4 (gl_FUNC_ROUNDF): Set REPLACE_ROUNDF instead of + HAVE_DECL_ROUNDF. Remove redundant AC_SUBST. + * m4/round.m4 (gl_FUNC_ROUND): Set REPLACE_ROUND instead of + HAVE_DECL_ROUND. Remove redundant AC_SUBST. + * m4/roundl.m4 (gl_FUNC_ROUNDL): Set REPLACE_ROUNDL instead of + HAVE_DECL_ROUNDL. Remove redundant AC_SUBST. + * lib/math.in.h (roundf): Use REPLACE_ROUNDF instead of + HAVE_DECL_ROUNDF. + (round): Use REPLACE_ROUND instead of HAVE_DECL_ROUND. + (roundl): Use REPLACE_ROUNDL instead of HAVE_DECL_ROUNDL. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_ROUND* instead + of HAVE_DECL_ROUND*. + * modules/math (Makefile.am): Update. + +2007-11-10 Bruno Haible + + * m4/vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Use same check for + ptrdiff_t as m4/intl.m4. + +2007-11-10 Jim Meyering + + Avoid link failure for the argmatch test. + * tests/test-argmatch.c (usage): Define function to avoid a link + failure: argmatch_die requires a usage function. + +2007-11-09 Bruno Haible + + * doc/functions/snprintf.texi: Mention BeOS deficiency. + * doc/functions/vsnprintf.texi: Likewise. + * lib/vasnprintf.c (VASNPRINTF): Ensure that we never call snprintf + with a size argument < 2. + +2007-11-09 Bruno Haible + + * lib/vasnprintf.c (VASNPRINTF): Increase reallocation of snprintf + buffer. Fixes an inefficiency introduced on 2007-11-03. + +2007-11-09 Bruno Haible + + * m4/locale-tr.m4 (gt_LOCALE_TR_UTF8) [BeOS]: Make this test return + none instead of tr_TR. Fixes a failure of test-c-strcasecmp.c. + +2007-11-08 Jim Meyering + + Change cache variable name prefix "jm_" to "gl_" everywhere. + * m4/d-type.m4, m4/jm-winsz1.m4, m4/jm-winsz2.m4, m4/link-follow.m4: + * m4/putenv.m4, m4/strtoimax.m4, m4/strtoumax.m4, m4/unlink-busy.m4: + * m4/uptime.m4: s/gl_/jm_/ + +2007-11-07 Bruno Haible + + Update to GNU gettext 0.17. + * m4/intl.m4: Update to GNU gettext 0.17. + * m4/po.m4: Likewise. + * modules/gettext (Files): Remove m4/ulonglong.m4. + (configure.ac): Require gettext infrastructure from version 0.17. + +2007-11-06 Bruno Haible + + * lib/fbufmode.c (fbufmode) [QNX]: Use numerical values for flags; the + symbolic values are not defined in a public header. + * lib/freadable.c (freadable) [QNX]: Likewise. + * lib/freadahead.c (freadahead) [QNX]: Likewise. + * lib/freading.c (freading) [QNX]: Likewise. + * lib/fseterr.c (fseterr) [QNX]: Likewise. + * lib/fwritable.c (fwritable) [QNX]: Likewise. + * lib/fwriting.c (fwriting) [QNX]: Likewise. + * lib/fpurge.c (fpurge) [QNX]: Likewise. Add a return statement. + Reported by Alain Magloire. + + * m4/fpending.m4 (gl_FUNC_FPENDING): Add a variant for QNX. + +2007-11-05 Bruno Haible + + * lib/vasnprintf.c (VASNPRINTF): Expand the NEED_PRINTF_DIRECTIVE_A + code when NEED_PRINTF_LONG_DOUBLE or NEED_PRINTF_DOUBLE is set. + Needed on Cygwin, where !NEED_PRINTF_DIRECTIVE_A && NEED_PRINTF_DOUBLE. + Reported by Eric Blake. + +2007-10-27 Ralf Wildenhues + Bruno Haible + + * modules/malloc (configure.ac): Define GNULIB_MALLOC_GNU always. + * modules/realloc (configure.ac): Define GNULIB_REALLOC_GNU always. + * lib/realloc.c (SYSTEM_MALLOC_GLIBC_COMPATIBLE): New macro. + (malloc): Undefine also before including . + (rpl_realloc): Turn malloc(0) into malloc(1) if necessary. + Needed on OSF/1 4.0. + +2007-11-05 Jim Meyering + + git-version-gen: sync from coreutils. + * build-aux/git-version-gen: Add comments. + Change the first '-' to '.' in the snapshot version string, + e.g., 6.9-377-08144 -> 6.9.377-08144 + Remove first parameter. + Don't declare a version "-dirty" merely because a time + stamp has changed. + +2007-11-04 Bruno Haible + + * lib/lock.h: Protect all macro definitions containing an 'if' + statement through a "do { ... } while (0)". + * lib/tls.h: Likewise. + +2007-11-04 Bruno Haible + + * lib/vasnprintf.c (DCHAR_IS_TCHAR, DCHAR_CPY): Undefine at the end. + +2007-11-04 Bruno Haible + + * m4/printf.m4 (gl_PRINTF_ENOMEM): Use GL_NOCRASH. + * modules/fprintf-posix (Depends-on): Add nocrash. + * 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/unistdio/u8-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u8-u8-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u16-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u16-u16-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u32-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u32-u32-vasnprintf (Depends-on): Likewise. + * modules/unistdio/ulc-vasnprintf (Depends-on): Likewise. + +2007-11-04 Bruno Haible + + * modules/nocrash: New file. + * m4/nocrash.m4: New file, taken from GNU clisp. Code taken from + GNU libsigsegv, with permission of GNU libsigsegv's copyright holders. + +2007-11-04 Bruno Haible + + * tests/test-vasnprintf-posix.c (test_function): Add some tests of + precision handling. + * tests/test-vasprintf-posix.c (test_function): Likewise. + * tests/test-snprintf-posix.h (test_function): Likewise. + * tests/test-sprintf-posix.h (test_function): Likewise. + + Fix *printf behaviour for large precisions on mingw and BeOS. + * m4/printf.m4 (gl_PRINTF_PRECISION): New macro. + * lib/vasnprintf.c (VASNPRINTF): Handle NEED_PRINTF_UNBOUNDED_PRECISION. + * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_PRECISION): New macro. + (gl_PREREQ_VASNPRINTF_WITH_EXTRAS): Invoke it. + * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Invoke + gl_PRINTF_PRECISION and test its result. Invoke + gl_PREREQ_VASNPRINTF_PRECISION. + * 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. + * doc/functions/fprintf.texi: Update. + * doc/functions/printf.texi: Update. + * doc/functions/snprintf.texi: Update. + * doc/functions/sprintf.texi: Update. + * doc/functions/vfprintf.texi: Update. + * doc/functions/vprintf.texi: Update. + * doc/functions/vsnprintf.texi: Update. + * doc/functions/vsprintf.texi: Update. + +2007-11-04 Bruno Haible + + * lib/vasnprintf.c (scale10_round_decimal_decoded): Fix shift loop. + 2007-11-04 Bruno Haible * modules/relocatable-prog (Files): Add m4/lib-ld.m4.