X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=33a43048dac3b08c60f33b9a5553e5192363bbfc;hb=6359858989e4e543aba52b4c59cb4162d7912883;hp=9a4ed578f11f043e7281819e91eed62ee2736e6b;hpb=932cfeb12ac1a06cd8abdad7ed6eb65e6aeb602d;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 9a4ed578f..33a43048d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,378 @@ +2010-11-09 Bruno Haible + + * doc/posix-functions/strerror.texi: List more failing platforms. + + * doc/posix-functions/strerror.texi: Add a comment. + +2010-11-07 Paul Eggert + + fdopendir: fix bug on MacOS X when low on file descriptors + + * lib/fdopendir.c (REPLACE_FCHDIR): #define to 0 if not defined. + (fdopendir_with_dup, fd_clone_opendir): Now have extra CWD arg. + All callers changed. + (fdopendir): Invoke save_cwd at the top level, not after using + multiple dup() calls to use up file descriptors. Then retry + fdopendir_with_dup. This avoids failure with EMFILE if FD is 1 + less than the maximum number of open file descriptors, because + save_cwd fails with errno == EMFILE. Problem reported by tsteven4 + on Mac OS X 10.6.4 for tar 1.24 + + + and for tar 1.25 + . + +2010-11-07 Bruno Haible + + vasnprintf: Support I flag on glibc systems. + * lib/printf-parse.h (FLAG_LOCALIZED): New macro. + * lib/printf-parse.c (PRINTF_PARSE): Handle the 'I' flag. + * lib/vasnprintf.c (VASNPRINTF): Pass the 'I' flag on to the system's + snprintf function. + * tests/test-vasnprintf-posix.c (test_function): Test the 'I' flag on + glibc systems. + * tests/test-vasnprintf-posix3.c: New file. + * modules/vasnprintf-posix-tests (Files): Add it. + (TESTS, check_PROGRAMS): Add test-vasnprintf-posix3. + +2010-11-05 Thien-Thi Nguyen (tiny change) + + [html] Fix copy/paste bug: Use unique name for compiler warnings. + * MODULES.html.sh: For compiler warnings, use name + `ansic_ext_compwarn' since `ansic_ext_misc' is already taken. + +2010-11-05 Eric Blake + + ceil, floor: avoid spurious failure with icc + * tests/test-ceilf2.c (ceilf_reference): Avoid icc's use of DAZ + [denormals-as-zero] when optimizing without -mieee-fp option. + * tests/test-floorf2.c (floorf_reference): Likewise. + * tests/test-ceilf1.c (dummy): New function. + (main): Use it to outsmart icc's optimization. + * tests/test-floorf1.c (dummy, main): Likewise. + + tests: require working signbit + * modules/ceilf-tests (Depends-on): Add signbit. + * modules/ceill-tests (Depends-on): Likewise. + * modules/floorf-tests (Depends-on): Likewise. + * modules/floorl-tests (Depends-on): Likewise. + * modules/round-tests (Depends-on): Likewise. + * modules/roundf-tests (Depends-on): Likewise. + * modules/roundl-tests (Depends-on): Likewise. + * modules/trunc-tests (Depends-on): Likewise. + * modules/truncf-tests (Depends-on): Likewise. + * modules/truncl-tests (Depends-on): Likewise. + + strtod: work around icc bug + * lib/strtod.c (minus_zero): Define to working value. + (strtod): Use it to avoid icc bug. + + copysign: enhance tests + * modules/copysign-tests (Files): Add minus-zero.h. + * tests/test-copysign.c (main): Also test zeros. + +2010-11-04 Eric Blake + + ceil, floor, round, trunc: enhance tests of -0 + * tests/test-ceilf1.c (main): Ensure correct sign of result. + * tests/test-ceill.c (main): Likewise. + * tests/test-floorf1.c (main): Likewise. + * tests/test-floorl.c (main): Likewise. + * tests/test-round1.c (main): Likewise. + * tests/test-roundf1.c (main): Likewise. + * tests/test-roundl.c (main): Likewise. + * tests/test-trunc1.c (main): Likewise. + * tests/test-truncf1.c (main): Likewise. + * tests/test-truncl.c (main): Likewise. + +2010-11-04 Eric Blake + + frexp, tests: work around ICC bug with -zero + * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Compute -0.0 in a way that + works with more compilers. + * tests/minus-zero.h: New file. + * modules/ceilf-tests (Files): Include it. + * modules/ceill-tests (Files): Likewise. + * modules/floorf-tests (Files): Likewise. + * modules/floorl-tests (Files): Likewise. + * modules/frexp-nolibm-tests (Files): Likewise. + * modules/frexp-tests (Files): Likewise. + * modules/frexpl-nolibm-tests (Files): Likewise. + * modules/frexpl-tests (Files): Likewise. + * modules/isnan-tests (Files): Likewise. + * modules/isnand-nolibm-tests (Files): Likewise. + * modules/isnand-tests (Files): Likewise. + * modules/isnanf-nolibm-tests (Files): Likewise. + * modules/isnanf-tests (Files): Likewise. + * modules/isnanl-nolibm-tests (Files): Likewise. + * modules/isnanl-tests (Files): Likewise. + * modules/round-tests (Files): Likewise. + * modules/roundf-tests (Files): Likewise. + * modules/roundl-tests (Files): Likewise. + * modules/ldexpl-tests (Files): Likewise. + * modules/signbit-tests (Files): Likewise. + * modules/snprintf-posix-tests (Files): Likewise. + * modules/sprintf-posix-tests (Files): Likewise. + * modules/strtod-tests (Files): Likewise. + * modules/trunc-tests (Files): Likewise. + * modules/truncf-tests (Files): Likewise. + * modules/truncl-tests (Files): Likewise. + * modules/vsnprintf-posix-tests (Files): Likewise. + * modules/vsprintf-posix-tests (Files): Likewise. + * modules/vasnprintf-posix-tests (Files): Likewise. + * modules/vasprintf-posix-tests (Files): Likewise. + * tests/test-ceilf1.c (main): Use it. + * tests/test-ceill.c (main): Likewise. + * tests/test-floorf1.c (main): Likewise. + * tests/test-floorl.c (main): Likewise. + * tests/test-frexp.c (main): Likewise. + * tests/test-frexpl.c (main): Likewise. + * tests/test-isnan.c (main): Likewise. + * tests/test-isnand.h (main): Likewise. + * tests/test-isnanf.h (main): Likewise. + * tests/test-isnanl.h (main): Likewise. + * tests/test-ldexpl.c (main): Likewise. + * tests/test-round.c (main): Likewise. + * tests/test-roundf.c (main): Likewise. + * tests/test-roundl.c (main): Likewise. + * tests/test-signbit.c (test_signbitf, test_signbitd) + (test_signbitl): Likewise. + * tests/test-snprintf-posix.h (test_function): Likewise. + * tests/test-sprintf-posix.h (test_function): Likewise. + * tests/test-strtod.c (main): Likewise. + * tests/test-trunc1.c (main): Likewise. + * tests/test-truncf1.c (main): Likewise. + * tests/test-truncl.c (main): Likewise. + + isnanl: work around icc bug + * lib/isnan.c (FUNC): Compute run-time NaN under ICC as well. + +2010-11-03 Eric Blake + + tests: fix compiler warnings + * tests/test-getopt.h (test_getopt): Fix condition. + * tests/test-getopt_long.h (test_getopt_long): Likewise. + * tests/test-pipe2.c (main): Likewise. + * tests/test-quotearg-simple.c (main): Avoid icc warning. + + utimens: fix broken m4 test + * m4/utimens.m4 (gl_UTIMENS): Include correct headers. + +2010-10-28 Bruno Haible + + posix_spawn*, getdtablesize: Relax license. + * modules/posix_spawn (License): Change to LGPLv2+. + * modules/posix_spawnp (License): Likewise. + * modules/posix_spawn-internal (License): Likewise. + * modules/posix_spawnattr_init (License): Likewise. + * modules/posix_spawnattr_getflags (License): Likewise. + * modules/posix_spawnattr_setflags (License): Likewise. + * modules/posix_spawnattr_getpgroup (License): Likewise. + * modules/posix_spawnattr_setpgroup (License): Likewise. + * modules/posix_spawnattr_getschedparam (License): Likewise. + * modules/posix_spawnattr_setschedparam (License): Likewise. + * modules/posix_spawnattr_getschedpolicy (License): Likewise. + * modules/posix_spawnattr_setschedpolicy (License): Likewise. + * modules/posix_spawnattr_getsigdefault (License): Likewise. + * modules/posix_spawnattr_setsigdefault (License): Likewise. + * modules/posix_spawnattr_getsigmask (License): Likewise. + * modules/posix_spawnattr_setsigmask (License): Likewise. + * modules/posix_spawnattr_destroy (License): Likewise. + * modules/posix_spawn_file_actions_init (License): Likewise. + * modules/posix_spawn_file_actions_addclose (License): Likewise. + * modules/posix_spawn_file_actions_adddup2 (License): Likewise. + * modules/posix_spawn_file_actions_addopen (License): Likewise. + * modules/posix_spawn_file_actions_destroy (License): Likewise. + * modules/getdtablesize (License): Likewise. + Requested by Adam Stokes for use in netcf. + +2010-10-26 Bruno Haible + + unistd: Refine workaround from 2009-12-23 against Cygwin bug. + * lib/unistd.in.h: Don't include and , except on + Cygwin and mingw. + Suggested by Eric Blake. + +2010-10-26 Bruno Haible + + stdio: Work around compilation error due to renameat() on Solaris 10. + * lib/stdio.in.h: Include on Solaris. + * lib/renameat.c: Don't include here. + * doc/posix-functions/renameat.texi: Mention the Solaris problem. + Reported by Paul Eggert and Eric Blake. + +2010-10-26 Paul Eggert + + renameat: port to Solaris 10, which declares renameat in unistd.h + + * lib/renameat.c: Include unistd.h before stdio.h, because + Solaris 10 declares renameat in unistd.h. Problem encountered + when building GNU tar 1.24 on Solaris 10. + +2010-10-26 Christian Weisgerber (tiny change) + + fdopendir: fix C89 compilation + * lib/fdopendir.c (fd_clone_opendir): Move declaration for older + compilers. + +2010-10-23 Paul Eggert + + inttostr: simplify by removing unnecessary redundancy + * lib/anytostr.c: Don't include verify.h. + (anytostr): Don't verify that TYPE_SIGNED (inttype) equals + inttype_is_signed. Instead, disable the bogus GCC warnings, so that + there's no need for inttype_is_signed and for calling TYPE_SIGNED. + * lib/imaxtostr.c (inttype_is_signed): Remove; no longer needed. + * lib/inttostr.c, lib/offtostr.c, lib/uinttostr.c, lib/umaxtostr.c: + Likewise. + * modules/inttostr (Depends-on): Remove 'verify'. + +2010-10-23 Bruno Haible + + nl_langinfo: Mention problem with CRNCYSTR on NetBSD 5.0. + * doc/posix-functions/nl_langinfo.texi: Mention problem with CRNCYSTR. + Reported by Eric Blake. + +2010-10-23 Bruno Haible + + Tests: Fix LOCALE_JA on MirBSD 10. + * m4/locale-ja.m4 (gt_LOCALE_JA): Reject a locale identifier that leads + to an UTF-8 locale. + * m4/locale-fr.m4 (gt_LOCALE_FR): Likewise. + * m4/locale-zh.m4 (gt_LOCALE_ZH_CN): Likewise. + Reported by Eric Blake. + +2010-10-21 Bruno Haible + + nl_langinfo test: Avoid test failure on NetBSD 5. + * tests/test-nl_langinfo.c (main): Relax test of nl_langinfo(CRNCYSTR). + Reported by Eric Blake. + +2010-10-21 Eric Blake + + c-stack: work around libsigsegv 2.8 bug + * lib/c-stack.c (SIGSTKSZ): Increase size to avoid alternate stack + overflow on at least PowerPC64. + +2010-10-17 Bruno Haible + + userspec: Drop redundant file. + * modules/userspec (Files): Remove lib/inttostr.h. + +2010-10-17 Bruno Haible + + nl_langinfo tests: Silence some warnings. + * tests/test-nl_langinfo.c: Silence -Wtype-limits warnings. + Reported by Jim Meyering. + +2010-10-17 Bruno Haible + + Make use of GCC's attribute __alloc_size__. + * lib/xalloc.h (ATTRIBUTE_ALLOC_SIZE): New macro. + (xmalloc, xzalloc, xcalloc, xrealloc, xmemdup, xnmalloc, xnrealloc, + xcharalloc): Declare with ATTRIBUTE_ALLOC_SIZE. + * lib/eealloc.h (eemalloc, eerealloc): Declare with attribute + __alloc_size__. + * lib/pagealign_alloc.h (pagealign_alloc, pagealign_xalloc): Likewise. + Suggested by Jim Meyering. + +2010-10-16 Joel E. Denny + + bootstrap: anchor .gitignore entries. + * build-aux/bootstrap (insert_sorted_if_absent): Replace all uses + with... + (insert_vc_ignore): ... this new function, which prepends `/' to + all .gitignore entries before passing them to + insert_sorted_if_absent. + +2010-10-16 Bruno Haible + + nextafter: Fix configure check. + * modules/nextafter (configure.ac): Correct expected prototype. + +2010-10-16 Bruno Haible + + termios: Update documentation. + * doc/posix-headers/termios.texi: Mention remaining mingw problems. + +2010-10-16 Bruno Haible + + tests: Make them compile with TinyCC. + * tests/test-strstr.c (main): Remove parentheses around array + initializer. + +2010-10-15 Eric Blake + + ignore-value: make header idempotent + * lib/ignore-value.h: Add double-inclusion guards. + Reported by Stefan Berger. + +2010-10-15 Jim Meyering + + GNUmakefile: handle "stable" target, not "major" + * top/GNUmakefile (_is-dist-target): s/major/stable/ to match the + lists in maint.mk and announce-gen. Without this, "make stable" + would fail to ensure that $(VERSION) is up to date. + +2010-10-15 Ludovic Courtès + + * lib/isnan.c (FUNC): Treat TinyCC (`__TINYC__') like `__SUNPRO_C' + & co. + +2010-10-14 Bruno Haible + + vasnprintf: Don't set errno to 0. + * lib/vasnprintf.c (VASNPRINTF): Save and restore errno around the + block that sets it to 0. + Reported by Gianluigi Tiesi . + +2010-10-14 Bruno Haible + + socketlib: Fix. + * modules/socketlib (Files): Add m4/sys_socket_h.m4. Needed for + gl_PREREQ_SYS_H_WINSOCK2. + Reported by Ian Beckwith . + +2010-10-13 Jim Meyering + + test-select-stdin.c: avoid warn_unused_result warnings + * tests/test-select-stdin.c: Include "macros.h". + ASSERT that read and fflush succeed. + +2010-10-13 Jim Meyering + + git-version-gen: do require git-VC'd files in cwd + * build-aux/git-version-gen: Reject a git version string + if there are no commits associated with the current directory. + This avoids an unlikely false-positive (unrelated dir whose parent + repository also contains a tag matching v*), as pointed out + by Giuseppe Scrivano in + http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/21843/focus=23664 + +2010-10-13 Paul Eggert + + argv-iter: omit nonconforming declaration + * lib/argv-iter.h (enum argv_iter_err): Omit the useless + enum arg_iter_err declaration, which doesn't conform to C99. + Solaris 10 cc warns about this. + +2010-10-13 Eric Blake + + termios: fix compilation on mingw + * m4/termios_h.m4 (gl_TERMIOS_H_DEFAULTS): Set default. + (gl_TERMIOS_H): Adjust it on mingw. + * modules/termios (Makefile.am): Substitute new key. + * lib/termios.in.h (includes): Make include_next conditional. + * doc/posix-headers/termios.texi (termios.h): Update + documentation. + Reported by Daniel P. Berrange. + 2010-10-13 Jim Meyering git-version-gen: don't require that .git/ be in the current dir * build-aux/git-version-gen: Adjust this script so that it works when run from any working directory beneath the top-level .git/- - containing directory. Inspired by a patch from Giusseppe Scrivano, + containing directory. Inspired by a patch from Giuseppe Scrivano, http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/21843/focus=21847 test-select: avoid warn_unused_result warnings @@ -500,6 +869,17 @@ * lib/sys_socket.in.h: Update an URL. * lib/sys_stat.in.h: Break long line. +2010-10-03 Reuben Thomas + + Improve pmccabe2html. + * build-aux/pmccabe2html: Add CYCLO_SRCS variable, and make + cyclo-$(PACKAGE).html depend on it, so the HTML file is remade + when the sources change. Remove the line in the HTML about "Used + ranges" (which implied that there might be other unused ranges), + rename "Resume" to "Summary" (easier to understand for more users). + * build-aux/pmccabe.css: Removing the dashed dividers, some unused + styles, and some unnecessary blank lines. + 2010-10-03 Bruno Haible Joachim Schmitz (tiny change)