X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=f26d2c6a69e8607320d545be37a74f62572afb54;hb=ccd7ccb010c3a2a509ac39236a4411581368148c;hp=c801958ce318a6a4263531070668d52cc43aab5e;hpb=d0fe9209ffab797cb556047e7c272341d5df2f3e;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index c801958ce..f26d2c6a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,223 @@ +2011-06-09 Bruno Haible + + thread: Fix confusion between NULL and 0. + * lib/glthread/thread.h (gl_thread_self): Use NULL and 0 appropriately. + Reported by Paul Eggert. + +2011-06-09 Bruno Haible + + acl tests: Fix compilation error on HP-UX 11. + * tests/test-sameacls.c: Include also on HP-UX. + +2011-06-09 Bruno Haible + + rmdir: Avoid test failure on HP-UX 10.20. + * tests/test-rmdir.h (test_rmdir_func): Accept ENOTEMPTY error, like + EEXIST. + +2011-06-07 Stefano Lattarini + + tests: fix usage message in 'mktempd_' + * tests/init.sh (mktempd_): In the usage message, use literal + 'mktempd_', not '$ME' (which is even undefined), as the name of + the subroutine. + +2011-06-06 Eric Blake + + canonicalize-lgpl: use common idiom + * m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Prefer older rm -rf + over newer POSIX -Rf. + Reported by Bruno Haible. + + canonicalize-lgpl: work around AIX realpath bug + * m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Expose AIX bug. + * doc/posix-functions/realpath.texi (realpath): Document it. + Reported by Bruno Haible. + +2011-06-06 Bruno Haible + + careadlinkat: Avoid mismatch between ssize_t and int. + * lib/careadlinkat.h (careadlinkatcwd): Declare as a function always. + * lib/careadlinkat.c (careadlinkatcwd): Define always. + +2011-06-05 Bruno Haible + + ansi-c++-opt: Interoperability with libtool. + * m4/ansi-c++.m4 (gl_PROG_ANSI_CXX): When a C++ compiler is not found, + set the variable to "no", not to ":". + * NEWS: Mention the change. + +2011-06-05 Bruno Haible + + acl: Fix test failure on AIX 7. + * tests/test-sameacls.c (main) [AIX]: Fix aclx_printStr invocation. + Based on a patch by Jørn Amundsen . + +2011-06-05 Bruno Haible + + pipe-filter-ii: Fix test failure on AIX and IRIX. + * lib/pipe-filter-ii.c (pipe_filter_ii_execute): When write() fails + with EAGAIN, retry with a smaller buffer size. + +2011-06-05 Bruno Haible + + localename: Fix link dependencies. + * modules/localename (Link): Mention $(LIBTHREAD) or $(LTLIBTHREAD). + * modules/localename-tests (Makefile.am): Link test-localename with + $(LIBTHREAD). + +2011-06-05 Bruno Haible + + unsetenv: Avoid gcc warning. + * lib/unsetenv.c (unsetenv): Provide declaration if system lacks it. + +2011-06-05 Bruno Haible + + setenv: Avoid gcc warning. + * lib/setenv.c (setenv): Provide declaration if system lacks it. + +2011-06-05 Bruno Haible + + sys_select: Ensure memset is declared also on AIX 7. + * lib/sys_select.in.h: Include also on AIX. + * doc/posix-headers/sys_select.texi: Mention that is not + self-contained also on AIX 7.1. + +2011-06-04 Bruno Haible + + setlocale: Enable replacement on Cygwin 1.5. + * m4/setlocale.m4 (gl_FUNC_SETLOCALE): Set REPLACE_SETLOCALE also on + Cygwin 1.5.x. + * doc/posix-functions/setlocale.texi: Mention that the problem with the + LC_CTYPE category also exists on Cygwin 1.5.x. + +2011-06-03 Bruno Haible + + Copyright: Use LGPL 2.1 instead of LGPL 2.0. + * lib/localename.h: Update copyright header. + * lib/localename.c: Likewise. + * lib/relocatable.h: Likewise. + * lib/relocatable.c: Likewise. + +2011-06-02 Bruno Haible + + doc: Fix a module name. + * doc/posix-functions/open.texi: Fix module name 'nonblocking'. + +2011-06-02 Bruno Haible + + pipe2: Remove dependency on 'nonblocking' module. + * lib/pipe2.c: Include verify.h. Include nonblocking.h only if + O_NONBLOCK is defined by gnulib. + (pipe2) [WIN32]: If O_NONBLOCK is not defined by gnulib, verify that it + is zero. + * modules/pipe2 (Depends-on): Add verify. Remove nonblocking. + * tests/test-pipe2.c: Include nonblocking.h only if O_NONBLOCK is + defined by gnulib. + (get_nonblocking_flag): New function. + (main): Test O_NONBLOCK flag only if it is nonzero. + * doc/glibc-functions/pipe2.texi: Mention the 'nonblocking' module. + +2011-05-31 Bruno Haible + + Fix link errors in tests: openat-die uses gettext-h. + * modules/areadlinkat-tests (Makefile.am): Link test-areadlinkat + against $(LIBINTL). + * modules/dirent-safer-tests (Makefile.am): Link test-dirent-safer + against $(LIBINTL). + * modules/fdopendir-tests (Makefile.am): Link test-fdopendir against + $(LIBINTL). + * modules/fdutimensat-tests (Makefile.am): Link test-fdutimensat + against $(LIBINTL). + * modules/linkat-tests (Makefile.am): Link test-linkat against + $(LIBINTL). + * modules/mkfifoat-tests (Makefile.am): Link test-mkfifoat against + $(LIBINTL). + * modules/openat-safer-tests (Makefile.am): Link test-openat-safer + against $(LIBINTL). + * modules/openat-tests (Makefile.am): Link test-fchownat, test-fstatat, + test-mkdirat, test-openat, test-unlinkat against $(LIBINTL). + * modules/readlinkat-tests (Makefile.am): Link test-readlinkat against + $(LIBINTL). + * modules/symlinkat-tests (Makefile.am): Link test-symlinkat against + $(LIBINTL). + * modules/utimensat-tests (Makefile.am): Link test-utimensat against + $(LIBINTL). + Reported by Tom G. Christensen . + +2011-05-31 Bruno Haible + + Fix link errors in tests: wait-process uses gettext-h. + * modules/nonblocking-pipe-tests (Makefile.am): Set + test_nonblocking_pipe_main_LDADD. + * modules/nonblocking-socket-tests (Makefile.am): Link + test-nonblocking-socket-main against $(LIBINTL). + Reported by Tom G. Christensen . + +2011-05-29 Bruno Haible + + wctype-h: Avoid namespace pollution on Solaris 2.6. + * lib/wctype.in.h: On Solaris, undefine 'multibyte' and a few other + identifiers. + * doc/posix-headers/wctype.texi: Mention the problem. + Reported by Tom G. Christensen . + +2011-05-28 Jim Meyering + + parse-datetime.y: accommodate -Wstrict-overflow + * lib/parse-datetime.y (yylex): Rearrange pointer arithmetic to + placate -Wstrict-overflow. + + trim: avoid a warning from -O2 -Wstrict-overflow + * lib/trim.c (trim2): Declare local to be "unsigned int", not "int". + +2011-05-28 Bruno Haible + + getloadavg: Remove an unreliable safety check. + * m4/getloadavg.m4 (gl_GETLOADAVG): Drop argument. Remove test whether + getloadavg.c is in place. + * modules/getloadavg (configure.ac): Drop argument of gl_GETLOADAVG. + Reported by Sam Steingold . + +2011-05-26 Simon Josefsson + + * lib/gen-uni-tables.c: Say "gen-uni-tables.c" consistently. + +2011-05-26 Bruno Haible + + mbsrchr: Avoid collision with system function on Interix. + * lib/string.in.h (mbsrchr): Define as rpl_mbsrchr also on Interix. + Reported by Markus Duft . + +2011-05-25 Eric Blake + + getcwd: work around mingw bug + * lib/getcwd-lgpl.c (rpl_getcwd): Guarantee correct error. + * doc/posix-functions/getcwd.texi (getcwd): Document it. + Reported by Matthias Bolte. + +2011-05-24 Paul Eggert + + test-intprops: disable -Wtype-limits diagnostics + * tests/test-intprops.c: Use a pragma to ignore -Wtype-limits + diagnostics. Otherwise, the integer overflow macros generate many + diagnostics. Reported by Jim Meyering in + . + +2011-05-24 Eric Blake + + docs: document recently fixed glibc printf bug + * doc/posix-functions/fprintf.texi (fprintf): Document it. + * doc/posix-functions/printf.texi (printf): Likewise. + * doc/posix-functions/vfprintf.texi (vfprintf): Likewise. + * doc/posix-functions/vprintf.texi (vprintf): Likewise. + +2011-05-24 Eric Blake + + tests: fix logic bug in init.sh + * tests/init.sh: (gl_set_x_corrupts_stderr_): Clear for successful + shell. + 2011-05-24 Jim Meyering utimensat: do not reference an out-of-scope buffer @@ -5,8 +225,8 @@ declared in an inner scope, yet "times" would be dereferenced outside the scope in which "ts" was valid. * lib/utimensat.c (rpl_utimensat) [__linux__]: Move the declaration - of ts[2] "out/up", so that the use of aliased "times" (via "times = ts;") - does not end up referencing an out-of-scope "ts" + of ts[2] "out/up", so that the use of aliased "times" (via + "times = ts;") does not end up referencing an out-of-scope "ts" opendir-safer.c: don't clobber errno; don't close negative FD * lib/opendir-safer.c (opendir_safer):