X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=07af46c7008903828d43baaa960088748e943db1;hb=c9ff025783e5374226ffbf7940f40ce7db6852ed;hp=8c1200c75c28e14ba96bf366bd9fb0e1feb4b175;hpb=1608fbc0104136faf98fcd89416a6c2ab4bff692;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 8c1200c75..07af46c70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,96 @@ +2011-05-19 Jim Meyering + + maint: correct misuse of "a" and "an" + * doc/regex.texi (Collating Symbol Operators): s/an close.../a close/ + * lib/argp-help.c: "an docum...": s/an/a/ + * lib/argp-parse.c: "An vector": s/An/A/ + * lib/execute.c: "an native": s/an/a/ + * lib/spawn-pipe.c: Likewise. + * lib/gc.h: "an Gc_rc": s/an/a/ + * lib/unigbrk.in.h: "an grapheme": s/an/a/ + * lib/fts.c: "an stat.st_dev": s/an/a/ + +2011-05-19 Paul Eggert + + intprops-tests: work around HP-UX 11.23 cc bug with constants + * tests/test-intprops.c (VERIFY): New macro. + (main): Use it, instead of verify, to work around the compiler bug; see + . + + intprops: work around IRIX 6.5 cc bug with 0u - 0u + -1 + See http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00406.html + * lib/intprops.h (_GL_INT_NEGATE_CONVERT): New macro. + (_GL_INT_SIGNED, _GL_INT_MAXIMUM, _GL_DIVIDE_OVERFLOW): + (_GL_REMAINDER_OVERFLOW): Use it. + + intprops-tests: revert unsigned part of previous change + * tests/test-intprops.c (UINT_MAX, ULONG_MAX, UINTMAX_MAX, U0, U1): + Remove; they weren't actually needed. All uses of U0 and U1 removed, + and other casts to 'unsigned int' reverted to 'u' suffixes. See + . + +2011-05-19 Bruno Haible + + strerror_r: Work around strerror_r() change in Cygwin 1.7.8. + * lib/strerror_r.c (strerror_r) [CYGWIN]: Recognize when the system's + strerror_r() returned without filling the buffer. + Reported by Eric Blake. + +2011-05-19 Eric Blake + + strerror_r: guarantee unchanged errno + * lib/strerror_r.c (strerror_r): Guarantee unchanged errno. + * lib/strerror-impl.h (strerror): Set errno to match strerror_r + failure. + * tests/test-strerror_r.c (main): Enhance test. + +2011-05-19 Bruno Haible + + strerror_r: Reorder #if blocks. + * lib/strerror_r.c (strerror_r): Reorder conditionals in the function + for consistency with the previous commit. + +2011-05-19 Bruno Haible + + perror: Avoid clobbering the strerror buffer when possible. + * lib/strerror-impl.h: New file, extracted from lib/strerror.c. + * lib/strerror.c: Include it. + * modules/strerror (Files): Add lib/strerror-impl.h. + * lib/perror.c: Include , intprops.h, verify.h. + (my_strerror): New function, defined through lib/strerror-impl.h. + (perror): Use it instead of strerror. + * modules/perror (Files): Add lib/strerror-impl.h. + (Depends-on): Remove strerror. Add intprops, verify, strerror_r-posix. + +2011-05-19 Eric Blake + + strerror_r: fix on newer cygwin + * lib/strerror_r.c (strerror_r): Cygwin now has + __xpg_strerror_r, use it. + +2011-05-19 Bruno Haible + + strerror_r: Avoid clobbering the strerror buffer when possible. + * lib/strerror.c: Define _NETBSD_SOURCE. Include . + (sys_nerr, sys_errlist): New declarations. + (strerror_r): Be careful not to clobber the strerror buffer on NetBSD, + HP-UX, native Win32, IRIX, and 32-bit Solaris. + * m4/strerror_r.m4 (gl_PREREQ_STRERROR_R): Test whether catgets exists. + +2011-05-19 Bruno Haible + + strerror_r: Fix test failure on mingw. + * m4/strerror_r.m4 (gl_FUNC_STRERROR_R): Don't define + EXTEND_STRERROR_R. + * lib/strerror_r.c (strerror_r): Test the various GNULIB_defined_* + macros from errno.in.h instead. + 2011-05-19 Eric Blake + strerror: relax test for Solaris + * tests/test-strerror.c (main): Permit Solaris behavior. + * tests/test-strerror_r.c (main): Likewise. + strerror: enforce POSIX ruling on strerror(0) * m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): Expose BSD bug. * m4/strerror_r.m4 (gl_FUNC_STRERROR_R): Likewise.