X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=3d04361fe778a078837ff8dd3bbc496f1864dce9;hb=acf2fa819ee5f1c5acb832dd4b9ebe52a3985699;hp=50712ada7ac1b63c83a19b7281d97e10ba1a50e4;hpb=0fe2cbf6bb3dcf60a7c4004c332f9ef6ea855290;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 50712ada7..3d04361fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,237 @@ +2009-11-29 Jim Meyering + + bootstrap: handle perl-5.11's changed --version output + * build-aux/bootstrap (get_version): Handle perl separately, + since perl-5.11's --version output is different. + +2009-11-28 Jim Meyering + + userspec: depend on the inttostr module, too + * modules/userspec (Depends-on): Add inttostr. + + userspec: disallow an ID that maps to (uid_t)-1 or (gid_t)-1 + * lib/userspec.c (parse_with_separator): Do not accept a user ID + number of MAXUID when it evaluates to (uid_t) -1. + Likewise for group ID. Reported by Matt McCutchen in + + + userspec: reformat to use spaces, not TABs + * lib/userspec.c: Expand TABs to spaces. + Add Emacs' "indent-tabs-mode: nil" hint. + +2009-11-27 Eric Blake + + getopt-gnu: flush out another BSD bug + * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Test for the bug. + * tests/test-getopt.c (main): Check POSIXLY_CORRECT first, to + flush out BSD bug. + * tests/test-getopt.h (test_getopt): End lists with NULL. + * tests/test-getopt_long.h (test_getopt_long): Likewise. + (test_getopt_long_posix): Enhance test. + * modules/getopt-posix-tests (Depends-on): Add stdbool. + * doc/glibc-functions/getopt_long.texi (getopt_long): Mention + getopt-gnu. + * doc/glibc-functions/getopt_long_only.texi (getopt_long_only): + Likewise. + +2009-11-27 Simon Josefsson + + * modules/idpriv-droptemp-tests (Notice): Fix text. + +2009-11-27 Jim Meyering + + test-xalloc-die: avoid spurious failure due to libtool argv difference + In a libtool-enabled project, this test would fail due to a difference + in the emitted program name, e.g., + -test-xalloc-die: memory exhausted + +/tmp/.../tests/.libs/lt-test-xalloc-die: memory exhausted + Use program to avoid that. + * modules/xalloc-die-tests (Depends-on): Add progname. + * tests/test-xalloc-die.c: Include progname.h". + (program_name): Remove decl. + (main): Call set_program_name. + * tests/test-xalloc-die.sh (compare): Remove unnecessary ${EXE}. + +2009-11-26 Richard Jones + + w32sock: leave win32 error in place. + * lib/w32sock.h (set_winsock_errno): Do not call WSASetLastError. + +2009-11-26 Eric Blake + + init.sh: suggest to use skip_ and fail_ functions in comments + * tests/init.sh: Add a sentence. + +2009-11-25 Bruno Haible + + init.sh: add documentation in comments + * tests/init.sh: Add some developer and user documentation. + +2009-11-26 Jim Meyering + + init.sh: accommodate even those who specify bogus srcdir manually + * tests/init.sh: Normally, srcdir is guaranteed by automake and + configure-time tests to be sanitized, so that there is no need to + use "$srcdir" in Makefile rules and shell scripts. Using $srcdir + (with no double quotes) suffices. However, since tests may be + invoked manually, and since you may explicitly set srcdir to the + name of a directory containing spaces, do quote its uses here. + * tests/test-pread.sh: Likewise. + Suggested by Bruno Haible. + + test-pread.sh: avoid diagnostics for those who ignore SIGPIPE + * tests/test-pread.sh: Write no data into the pipe, because + test-pread actually reads none. This avoids a diagnostic, + "bash: echo: write error: Broken pipe", that arises in the unusual + event something is ignoring SIGPIPE, and might be interpreted + as some sort of failure. Reported by Bruno Haible. + +2009-11-25 Jim Meyering + + test-pread: cover failure with ESPIPE and EINVAL + * tests/test-pread.c (main): Test for failure, too. + * tests/test-pread.sh: Invoke with stdin on a pipe. + Suggested by Eric Blake. + + pread: improvement and fix + * modules/pread (Depends-on): Depend on lseek, for portability to + e.g., mingw. Suggested by Eric Blake. + * lib/pread.c (__libc_read): Define. Reported by Richard W.M. Jones. + + unistd.in.h: correct declaration of pread + * lib/unistd.in.h: Correct type of "buf" parameter: void*, not char* + Reported by Richard W.M. Jones. + + test-pread.sh: distribute the test script + * modules/pread-tests (Files): Include test-pread.sh. + + test-pread.sh: clean up + * tests/test-pread.sh: Don't refer to $builddir. Just use equivalent ".". + * modules/pread-tests (TESTS_ENVIRONMENT): Don't export builddir. + That is unnecessary, since it's always ".". + Suggestion from Eric Blake. + + test-pread.sh: make executable + * tests/test-pread.sh: Set executable bit. + Reported by Eric Blake. + + correct typo in test-pread.sh + * tests/test-pread.sh: Add #! line. + + test pread + * tests/test-pread.c: New file. + * tests/test-pread.sh: Likewise. + * modules/pread-tests: Likewise. + + pread: new module + * modules/pread: New file. + * lib/unistd.in.h (pread): Define/declare. + * lib/pread.c (pread): New file. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Define defaults. + * modules/unistd (Makefile.am): Substitute witnesses. + * doc/posix-functions/pread.texi (pread): Update. + * MODULES.html.sh: Add pread. + +2009-11-25 Jim Meyering + + tests/init.sh: new file to be used via most *.sh tests + * tests/init.sh: New file. + +2009-11-25 Eric Blake + + utimens: work around older Linux failure with symlinks + * lib/utimens.c (lutimensat_works_really): New variable. + (fdutimens, lutimens): Use it to manage kernels that support + nanosecond times on files, but not on symlinks. + Reported by Ondřej Vašík. + + utimes: fix configure grammar + * m4/utimes.m4 (gl_FUNC_UTIMES): Delete spurious word. + +2009-11-25 Paolo Bonzini + + regex: Fix fastmap for multibyte character ranges. + * lib/regcomp.c (re_compute_fastmap_iter): Add all multibyte lead + characters when a multibyte character range is included. + +2009-11-22 Andy Wingo + + version-etc: work also with AM_INIT_AUTOMAKE's no-define option + * lib/version-etc.c [!defined PACKAGE]: Define to PACKAGE_TARNAME. + +2009-11-24 Bruno Haible + + doc: Most *_l functions exist in MacOS X 10.5. + * doc/posix-functions/duplocale.texi: Update platforms list. + * doc/posix-functions/freelocale.texi: Likewise. + * doc/posix-functions/newlocale.texi: Likewise. + * doc/posix-functions/uselocale.texi: Likewise. + * doc/posix-functions/isalnum_l.texi: Likewise. + * doc/posix-functions/isalpha_l.texi: Likewise. + * doc/posix-functions/isblank_l.texi: Likewise. + * doc/posix-functions/iscntrl_l.texi: Likewise. + * doc/posix-functions/isdigit_l.texi: Likewise. + * doc/posix-functions/isgraph_l.texi: Likewise. + * doc/posix-functions/islower_l.texi: Likewise. + * doc/posix-functions/isprint_l.texi: Likewise. + * doc/posix-functions/ispunct_l.texi: Likewise. + * doc/posix-functions/isspace_l.texi: Likewise. + * doc/posix-functions/isupper_l.texi: Likewise. + * doc/posix-functions/iswalnum_l.texi: Likewise. + * doc/posix-functions/iswalpha_l.texi: Likewise. + * doc/posix-functions/iswblank_l.texi: Likewise. + * doc/posix-functions/iswcntrl_l.texi: Likewise. + * doc/posix-functions/iswctype_l.texi: Likewise. + * doc/posix-functions/iswdigit_l.texi: Likewise. + * doc/posix-functions/iswgraph_l.texi: Likewise. + * doc/posix-functions/iswlower_l.texi: Likewise. + * doc/posix-functions/iswprint_l.texi: Likewise. + * doc/posix-functions/iswpunct_l.texi: Likewise. + * doc/posix-functions/iswspace_l.texi: Likewise. + * doc/posix-functions/iswupper_l.texi: Likewise. + * doc/posix-functions/iswxdigit_l.texi: Likewise. + * doc/posix-functions/isxdigit_l.texi: Likewise. + * doc/posix-functions/nl_langinfo_l.texi: Likewise. + * doc/posix-functions/strcasecmp_l.texi: Likewise. + * doc/posix-functions/strcoll_l.texi: Likewise. + * doc/posix-functions/strfmon_l.texi: Likewise. + * doc/posix-functions/strftime_l.texi: Likewise. + * doc/posix-functions/strncasecmp_l.texi: Likewise. + * doc/posix-functions/strxfrm_l.texi: Likewise. + * doc/posix-functions/tolower_l.texi: Likewise. + * doc/posix-functions/toupper_l.texi: Likewise. + * doc/posix-functions/towctrans_l.texi: Likewise. + * doc/posix-functions/towlower_l.texi: Likewise. + * doc/posix-functions/towupper_l.texi: Likewise. + * doc/posix-functions/wcscoll_l.texi: Likewise. + * doc/posix-functions/wcsxfrm_l.texi: Likewise. + * doc/posix-functions/wctrans_l.texi: Likewise. + * doc/posix-functions/wctype_l.texi: Likewise. + * doc/glibc-functions/strptime_l.texi: Likewise. + * doc/glibc-functions/strtod_l.texi: Likewise. + * doc/glibc-functions/strtof_l.texi: Likewise. + * doc/glibc-functions/strtol_l.texi: Likewise. + * doc/glibc-functions/strtold_l.texi: Likewise. + * doc/glibc-functions/strtoll_l.texi: Likewise. + * doc/glibc-functions/strtoul_l.texi: Likewise. + * doc/glibc-functions/strtoull_l.texi: Likewise. + * doc/glibc-functions/wcsftime_l.texi: Likewise. + * doc/glibc-functions/wcstod_l.texi: Likewise. + * doc/glibc-functions/wcstof_l.texi: Likewise. + * doc/glibc-functions/wcstol_l.texi: Likewise. + * doc/glibc-functions/wcstold_l.texi: Likewise. + * doc/glibc-functions/wcstoll_l.texi: Likewise. + * doc/glibc-functions/wcstoul_l.texi: Likewise. + * doc/glibc-functions/wcstoull_l.texi: Likewise. + +2009-11-24 Bruno Haible + + duplocale: Fix logic bug. + * lib/duplocale.c: Don't include . + (_NL_LOCALE_NAME): Remove macro. + (rpl_duplocale): Use setlocale instead of nl_langinfo. + * tests/test-duplocale.c (main): Also test duplocale after uselocale. + 2009-11-23 Jim Meyering test-update-copyright: don't hard-code /usr/bin/perl