X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=2b373755188f77df15ec37bd25528dc514909469;hb=ab509afde2e2572fe70ff0c55e3bf7ff289a9f40;hp=593434463c27bd932e4c29f8888b8bd004567516;hpb=fdd1b511c5c12912aae79b58e0c5f6ffa0492d6e;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 593434463..2b3737551 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,103 @@ +2013-10-10 Paul Eggert + + verify: document some 'assume' pitfalls + * doc/verify.texi (Compile-time Assertions): + Mention that 'assume (E)' can sometimes slow things down. + Use CHAR_MAX + 1, not UCHAR_MAX + 1. + +2013-10-10 Eric Blake + + strtoumax: fix typo in previous commit. + * modules/strtoumax (Depends-on): Fix typo. + * modules/strtoimax (Depends-on): Likewise. + +2013-10-10 Paul Eggert + + strtoumax: port to Solaris 8 + This problem was introduced in the recent HP-UX patch. + Reported by Tom G. Christensen in + . + * modules/strtoumax (Depends-on): Test HAVE_STRTOUMAX + and REPLACE_STRTOUMAX rather than ac_cv_func_strtoumax. + +2013-10-09 Paul Eggert + + strtoimax, strtoumax: port to HP-UX 11.11 + Problem reported by Daniel Richard G. in + . + * lib/inttypes.in.h (strtoumax): Replace strtoumax if + REPLACE_STRTOUMAX, thus treating it consistently with strtoimax. + * m4/inttypes.m4 (gl_INTTYPES_H_DEFAULTS): Add default for + REPLACE_STRTOUMAX. + * m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): + * m4/strtoumax.m4 (gl_FUNC_STRTOUMAX): + Replace the function if defined as a macro but not as a function. + * modules/inttypes-incomplete (inttypes.h): Substitute + REPLACE_STRTOUMAX. + * modules/strtoumax (configure.ac): Replace strtoumax if + REPLACE_STRTOUMAX. + +2013-10-08 Paul Eggert + + strtoimax: port to HP-UX 11.11 + Problem reported by Daniel Richard G. + * lib/strtoimax.c (Strtoimax, Strtol, Strtoll): New macros. + (strtoimax, strtol, strtoll) [UNSIGNED]: Remove, since + they might clash with inttypes.h. + +2013-10-06 Paul Eggert + + New module 'count-trailing-zeros'. + * MODULES.html.sh: Mention it. + * lib/count-trailing-zeros.c, lib/count-trailing-zeros.h: + * m4/count-trailing-zeros.m4, modules/count-trailing-zeros: + * modules/count-trailing-zeros-tests: + * tests/test-count-trailing-zeros.c: + New files. + + count-leading-zeros: port to MSC; support types wider than 64 bits + The ideas behind the MSC port are stolen from Emacs. + * lib/count-leading-zeros.h: + Don't include verify.h: it's no longer needed, as types wider than + 64 bits are now supported. + (COUNT_LEADING_ZEROS): New arg MSC_BUILTIN, for better + performance with MSC. All uses changed. Do not assume that TYPE + has at most 64 bits. + (count_leading_zeros_32): Assume 0 < X < 2**32, for speed. + All uses changed. Fold the subtraction from 31 into the table. + + count-one-bits: port to MSC; support types wider than 64 bits + The ideas behind the MSC port are stolen from Emacs. + * lib/count-one-bits.c (popcount_support) [_MSC_VER]: New variable. + * lib/count-one-bits.h: Include limits.h, for CHAR_BIT. + Don't include verify.h: it's no longer needed, as types wider than + 64 bits are now supported. + (COUNT_ONE_BITS_GENERIC): New macro. + (popcount_supported) [_MSC_VER]: New inline function. + (COUNT_ONE_BITS): Use it. New arg MSC_BUILTIN, for better + performance with MSC. All uses changed. Do not assume that TYPE + has at most 64 bits. + * modules/count-one-bits (Depends-on): Do not depend on 'verify'. + +2013-10-06 Andrew Borodin + + mountlist: fix resource leak with MOUNTED_INTERIX_STATVFS + * lib/mountlist.c (read_file_system_list): fix leak of directory + streams in case of #ifdef MOUNTED_INTERIX_STATVFS. + +2013-10-06 Paul Eggert + + tests: improve diagnostic when an assertion fails + * tests/macros.h (ASSERT): Report the assertion that failed. + +2013-10-02 Paul Eggert + + verify: new macro 'assume' + This is taken from Emacs, and should be generally useful. + * doc/verify.texi (assume): Document it. + * lib/verify.h (assume): New macro. + (__has_builtin): Expand to 0 if not defined. + 2013-09-26 Eric Blake dup2, dup3: work around another cygwin crasher