X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=1d3cb6c8fc4acb037cbf5e7c5e094ad6da0d4704;hb=249e955142d9ceaaeba6240bbaaf618487008915;hp=5bf5dad7d116b7d2fef127b7d108999821045d23;hpb=cf0e1bcdc666748ef2bcb38f806cac432936090d;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 5bf5dad7d..1d3cb6c8f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,153 @@ +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 + * m4/dup2.m4 (gl_FUNC_DUP2): Expose the bug. + * m4/dup3.m4 (gl_FUNC_DUP3): Likewise. + * tests/test-dup2.c (main): Likewise. + * lib/dup2.c (rpl_dup2): Use setdtablesize to avoid it. + * lib/dup3.c (dup3): Likewise. + * doc/posix-functions/dup2.texi (dup2): Document it. + * doc/glibc-functions/dup3.texi (dup3): Likewise. + + getdtablesize: work around cygwin issue + * m4/getdtablesize.m4 (gl_FUNC_GETDTABLESIZE): Detect problem. + * modules/getdtablesize (configure.ac): Build replacement. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Set up a witness. + * modules/unistd (Makefile.am): Expose the witness. + * lib/unistd.in.h (getdtablesize): Declare replacement. + * lib/getdtablesize.c (rpl_getdtablesize): Work around it. + * tests/test-getdtablesize.c (main): Test it. + * doc/glibc-functions/getdtablesize.texi (getdtablesize): Document it. + +2013-09-25 Mats Erik Andersson + + pmccabe2html: escaping of special characters + Escape all '<', '>', and '&' in HTML output. + * build-aux/pmccabe2html (html_fnc): Call gsub() + instead of sub() to capture all '<', '>', and '&'. + Neither of '<' and '>' is special in a regexp, + so first arguments to gsub() are corrected. Also, + in replacement strings, ampersand must be escaped. + Finally, '&' must be handled first, then '<' and '>'. + +2013-09-24 Eric Blake + + manywarnings: enable nicer gcc warning messages + * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Older gcc requires + some -f options for optimal warnings. + +2013-09-21 Jim Meyering + + timespec: use the new TIMESPEC_RESOLUTION in a few more places + * lib/timespec-add.c (timespec_add): Also replace 999999999 + with TIMESPEC_RESOLUTION - 1. + * lib/timespec-sub.c (timespec_sub): Likewise. + +2013-09-23 Paul Eggert + + warnings: port --enable-gcc-warnings to Solaris Studio 12.3 + Problem reported by Dagobert Michelsen via Eric Blake in + . + * m4/warnings.m4 (gl_COMPILER_OPTION_IF): Use AC_LINK_IFELSE, + not AC_COMPILE_IFELSE. + +2013-09-23 Eric Blake + + configmake: support new --runstatedir option + * m4/configmake.m4 (gl_CONFIGMAKE_PREP): Substitute runstatedir + even if autoconf was too old to provide the command line option. + * modules/configmake (Makefile.am): Propagate it to .h file. + +2013-09-22 Paul Eggert + + ctype, string: depend on extern-inline + This is needed to complete the recent OS X fixes. + Also, fix related documentation as suggested by Eric Blake. + * doc/posix-functions/isalnum.texi, doc/posix-functions/isalpha.texi: + * doc/posix-functions/isascii.texi, doc/posix-functions/iscntrl.texi: + * doc/posix-functions/isdigit.texi, doc/posix-functions/isgraph.texi: + * doc/posix-functions/islower.texi, doc/posix-functions/isprint.texi: + * doc/posix-functions/ispunct.texi, doc/posix-functions/isspace.texi: + * doc/posix-functions/isupper.texi, doc/posix-functions/isxdigit.texi: + * doc/posix-functions/toascii.texi, doc/posix-functions/tolower.texi: + * doc/posix-functions/toupper.texi: + List the 'ctype' gnulib module. + * doc/posix-functions/strcat.texi, doc/posix-functions/strcpy.texi: + * doc/posix-functions/strncpy.texi: + List the 'string' gnulib module. + * modules/memcpy, modules/memmove, modules/memset (Depends-on): + Add string. + * modules/ctype, modules/string (Depends-on): Add extern-inline. + +2013-09-19 Pádraig Brady + + userspec: support optional parameters to parse_user_spec() + * lib/userspec.c (parse_user_spec): If the GID param is NULL, + then avoid group processing and treat the full spec as a user. + (parse_with_separator): Allow the USERNAME and GROUPNAME to + be optional params (NULL), in which case they're ignored. + 2013-09-19 Paul Eggert timespec: new function make_timespec, and new constants @@ -32,7 +182,7 @@ extern inline on Apple only if the particular compile-time configuration is known to have the problem. (_GL_EXTERN_INLINE_APPLE_BUG): New private macro, to implement this. - (_GL_EXTERN_LNLINE_IN_USE): New macro, intended for use by + (_GL_EXTERN_INLINE_IN_USE): New macro, intended for use by other Gnulib modules. extern-inline: document fixes for ctype and wctype macros