X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=a9df6451a66d0e05cfdc0e4f9ca59a8fce989bcb;hb=37b2d8827b7843be372de257960a2b9a1a1877d7;hp=a18e8ea2e40877545481aae8146ded9397f63e82;hpb=d001fc5a98e98911ff976bdb31581824bc0e920d;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index a18e8ea2e..a9df6451a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,377 @@ +2009-08-22 Bruno Haible + + Reference some new glibc functions. + * doc/glibc-functions/accept4.texi: New file. + * doc/glibc-functions/dup3.texi: New file. + * doc/glibc-functions/mkostemp.texi: New file. + * doc/glibc-functions/pipe2.texi: New file. + * doc/gnulib.texi (Glibc stdlib.h): Refer to mkostemp. + (Glibc sys/socket.h): Refer to accept4. + (Glibc unistd.h): Refer to dup3, pipe2. + Reported by Eric Blake. + +2009-08-22 Jim Meyering + Bruno Haible + + annotate automake snippets with $(AM_V_GEN) and $(AM_V_at) + This makes it so packages using automake-1.11's silent-rules option + can print e.g., a single "GEN configmake.h" line, rather than + the 30+ statements that perform the job. If you want to see the + actual commands, you can still run "make V=1". + * modules/alloca-opt: Add $(AM_V_GEN) and $(AM_V_at) prefixes + so that make output is abbreviated when those variables are defined + appropriately. + * modules/argz: Likewise. + * modules/arpa_inet: Likewise. + * modules/byteswap: Likewise. + * modules/configmake: Likewise. + * modules/dirent: Likewise. + * modules/errno: Likewise. + * modules/fcntl: Likewise. + * modules/float: Likewise. + * modules/fnmatch: Likewise. + * modules/getopt-posix: Likewise. + * modules/glob: Likewise. + * modules/iconv_open: Likewise. + * modules/inttypes: Likewise. + * modules/localcharset: Likewise. + * modules/locale: Likewise. + * modules/math: Likewise. + * modules/netdb: Likewise. + * modules/netinet_in: Likewise. + * modules/poll: Likewise. + * modules/posix_spawnp-tests: Likewise. + * modules/sched: Likewise. + * modules/search: Likewise. + * modules/selinux-h: Likewise. + * modules/signal: Likewise. + * modules/spawn: Likewise. + * modules/stdarg: Likewise. + * modules/stdbool: Likewise. + * modules/stddef: Likewise. + * modules/stdint: Likewise. + * modules/stdio: Likewise. + * modules/stdlib: Likewise. + * modules/string: Likewise. + * modules/strings: Likewise. + * modules/sys_file: Likewise. + * modules/sys_ioctl: Likewise. + * modules/sys_select: Likewise. + * modules/sys_socket: Likewise. + * modules/sys_stat: Likewise. + * modules/sys_time: Likewise. + * modules/sys_times: Likewise. + * modules/sys_utsname: Likewise. + * modules/sys_wait: Likewise. + * modules/sysexits: Likewise. + * modules/time: Likewise. + * modules/unistd: Likewise. + * modules/wchar: Likewise. + * modules/wctype: Likewise. + +2009-08-22 Jim Meyering + + announce-gen: detect write failure + * build-aux/announce-gen: Add Coda at end. + Remove equivalent-but-more-verbose block at top. + +2009-08-19 Akim Demaille + + bootstrap: --help to stdout. + * bootstrap (usage): Don't send --help to stderr. + Use a here doc instead of a long string. + +2009-08-21 Eric Blake + + test-popen-safer: split from test-popen + * tests/test-popen.c (main): Move... + * tests/test-popen.h: ...into new file. + * tests/test-popen-safer2.c: New file. + * modules/popen-tests (Files): Add test-popen.h. + * modules/popen-safer-tests (Files): Add test-popen-safer2.c. + Suggested by Bruno Haible. + + test-fcntl-safer: split from test-open + * tests/test-open.c (main): Move... + * tests/test-open.h: ...into new file. + * tests/test-fcntl-safer.c: New file. + * modules/open-tests (Files): Add test-open.h. + * modules/fcntl-safer-tests: New file. + Suggested by Bruno Haible. + + test-fopen-safer: split from test-fopen + * tests/test-fopen.c (main): Move... + * tests/test-fopen.h: ...into new file. + * tests/test-fopen-safer.c: New file. + * modules/fopen-tests (Files): Add test-fopen.h. + * modules/fopen-safer-tests: New file. + Suggested by Bruno Haible. + +2009-08-21 Paolo Bonzini + + popen-safer: test O_CLOEXEC at run-time. + * lib/popen-safer.c: Test O_CLOEXEC at run-time. + +2009-08-21 Paolo Bonzini + + fcntl: move more flags to the header + * lib/cloexec.c: Do not define FD_CLOEXEC here. + * lib/popen-safer.c: Do not alias O_NOINHERIT to O_CLOEXEC here. + * lib/fcntl.in.h: Do both things here. + +2009-08-21 Jim Meyering + + consistently remove $@-t before redirecting to it + * modules/argz: Remove $@-t and $@ before redirecting to the former. + * modules/alloca-opt: Likewise. + * modules/byteswap: Likewise. + * modules/fnmatch: Likewise. + * modules/getopt-posix: Likewise. + * modules/glob: Likewise. + * modules/poll: Likewise. + * modules/posix_spawnp-tests: Likewise. + * modules/sys_socket: Likewise. + * modules/sysexits: Likewise. + +2009-08-21 Eric Blake + + popen: simplify access to original popen + * lib/popen.c (rpl_popen): No need to worry about popen being a + macro. + Reported by Bruno Haible. + +2009-08-20 Eric Blake + + build: avoid some compiler warnings + * lib/selinux-at.h: Use dir_fd, not dirfd, to avoid shadowing. + * lib/exclude.c (fnmatch_pattern_has_wildcards): Use correct + type. + (new_exclude_segment, excluded_file_pattern_p) + (excluded_file_name_p): Reduce scope. + * lib/vasnprintf.c (decimal_point_char): Avoid warning on + old-style declaration. + +2009-08-20 Simon Josefsson + + * tests/test-exclude1.sh: Handle Windows EOL. + * tests/test-exclude2.sh: Likewise. + * tests/test-exclude3.sh: Likewise. + * tests/test-exclude4.sh: Likewise. + * tests/test-exclude5.sh: Likewise. + * tests/test-exclude6.sh: Likewise. + * tests/test-exclude7.sh: Likewise. + +2009-08-19 Akim Demaille + + bootstrap: find sha1sum when named gsha1sum. + * bootstrap (find_tool): New. + ($SHA1SUM): New. + Use it. + +2009-08-20 Jim Meyering + + maint.mk: _header_without_use: fix a quoting bug and remove a bash'ism + * top/maint.mk (_header_without_use): Use "\\\\", not "\\" in the sed + expression that converts "." in a file name to "\." in the resulting + regexp. Start with a dummy statement, so that prior shell variable + definitions are expanded portably. Reported by Simon Josefsson. + +2009-08-20 Paolo Bonzini + + Fix polling for writeability of a screen buffer. + * lib/poll.c: Distinguish input and screen buffers for the + Win32 implementation. + * lib/select.c: Likewise. + +2009-08-19 Eric Blake + + popen-safer: prevent popen from clobbering std descriptors + * modules/popen-safer: New file. + * lib/popen-safer.c: Likewise. + * m4/stdio-safer.m4 (gl_POPEN_SAFER): New macro. + * lib/stdio--.h (popen): Provide override. + * lib/stdio-safer.h (popen_safer): Provide declaration. + * tests/test-popen.c (includes): Partially test this. + * modules/popen-safer-tests: New file, for more tests. + * tests/test-popen-safer.c: Likewise. + * MODULES.html.sh (file stream based Input/Output): Mention it. + + tests: test some of the *-safer modules + * modules/fopen-safer (Depends-on): Add fopen. + * modules/fcntl-safer (Depends-on): Add fcntl. + * modules/stdlib-safer (Depends-on): Add stdlib. + (configure.ac): Set indicator. + * modules/unistd-safer (configure.ac): Likewise. + * modules/tmpfile-safer (configure.ac): Likewise. + (Depends-on): Add tmpfile. + * lib/stdio--.h (fopen, tmpfile): Don't override unless module is + active. + * tests/test-fopen.c (includes): Test safer versions when they are + in use. + * tests/test-open.c (includes): Likewise. + + popen: fix cygwin 1.5 bug when stdin closed + * doc/posix-functions/popen.texi (popen): Document cygwin bugs. + * modules/popen: New file. + * modules/popen-tests: Likewise. + * tests/test-popen.c: Likewise. + * m4/popen.m4: Likewise. + * lib/popen.c: Likewise. + * lib/stdio.in.h (popen): New declaration. + * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Add popen. + * modules/stdio (Makefile.am): Likewise. + * MODULES.html.sh (systems lacking POSIX:2008): Mention it. + +2009-08-17 Joel E. Denny + + maint.mk: give full control over update-copyright exclusions + * top/maint.mk (VC_LIST_EXCEPT): Instead of ChangeLog, use + ${VC_LIST_EXCEPT_DEFAULT-ChangeLog} as the default exclusion. + (update-copyright): Don't force inclusion of top-level + ChangeLog. Don't force exclusion of all COPYING files, but make + them the default exclusion instead. + +2009-08-16 Bruno Haible + + Fix test failures on Solaris 10. + * tests/uniconv/test-u8-conv-from-enc.c (main): Disable autodetect_jp + tests when Solaris iconv() is used. + * tests/uniconv/test-u16-conv-from-enc.c (main): Likewise. + * tests/uniconv/test-u32-conv-from-enc.c (main): Likewise. + * tests/uniconv/test-u8-strconv-from-enc.c (main): Likewise. + * tests/uniconv/test-u16-strconv-from-enc.c (main): Likewise. + * tests/uniconv/test-u32-strconv-from-enc.c (main): Likewise. + +2009-08-16 Bruno Haible + + Fix test failures on Solaris 10. + * tests/test-pipe-filter-ii1.sh: Determine the filename of a working + 'tr' program and pass it as first argument. + * tests/test-pipe-filter-gi1.sh: Likewise. + * tests/test-pipe-filter-ii1.c (main): Except the filename of a 'tr' + program as first argument. + * tests/test-pipe-filter-gi1.c (main): Likewise. + +2009-08-16 Eric Blake + + fpurge: fix previous commits + * modules/fpurge (Makefile.am): Make replacement conditional, + partially reverting 2007-04-29 change; missed in previous + attempt. + * m4/fpurge.m4 (gl_FUNC_FPURGE): Also compile fpurge.c when fpurge + is missing. + +2009-08-16 Bruno Haible + + Clarify fpurge's effect on the file position. + * lib/stdio.in.h (fpurge): Specify the file position after fpurge. + * tests/test-fpurge.c (main): Make a second pass for checking the file + position. + +2009-08-16 Bruno Haible + + * m4/fpurge.m4 (gl_FUNC_FPURGE): Don't compile fpurge.c if only the + declaration of fpurge is missing. + * tests/test-fpurge.c (main): Check that the file has not more contents + than expected. Close the file before removing it. + +2009-08-15 Eric Blake + + fpurge: don't wrap working cygwin implementation + * lib/fpurge.c (fpurge): Fix comment typo. + * m4/fpurge.m4 (gl_FUNC_FPURGE): Detect BSD bug, allowing cygwin + 1.7 to avoid replacement. + * tests/test-fpurge.c (main): Enhance test. + +2009-08-15 Eric Blake + and Jim Meyering + + test-update-copyright: skip if perl is insufficient + * tests/test-update-copyright.sh: Failure to run maintainer tool + should not cause testsuite failure on cygwin 1.5. + +2009-08-14 Eric Blake + + doc: mention more functions added in cygwin 1.7.0 + * doc/posix-headers/limits.texi (limits.h): Update for recent + cygwin additions. + * doc/posix-headers/wordexp.texi (wordexp.h): Likewise. + * doc/posix-functions/wordexp.texi (wordexp): Likewise. + * doc/posix-functions/wordfree.texi (wordfree): Likewise. + * doc/posix-functions/setlocale.texi (setlocale): Likewise. + * doc/posix-functions/nl_langinfo.texi (nl_langinfo): Likewise. + +2009-08-14 Eric Blake + + maint.mk: simplify update-copyright rule + * top/maint.mk (update-copyright-local): Delete, and document how + to do it in cfg.mk instead. + (update-copyright-exclude-regexp): Delete, and document how to do + it in .x-update-copyright instead. + (update-copyright): Simplify, thanks to VC_LIST_EXCEPT. Don't + exclude ChangeLog. + +2009-08-14 Bruno Haible + + * m4/wchar.m4 (gl_WCHAR_H): Undo invalid optimization in last commit. + +2009-08-14 Joel E. Denny + + maint.mk: support update-copyright-env + * top/maint.mk (update-copyright-env): Define place-holder. + (update-copyright): Expand $(update-copyright-env) before + invoking update-copyright. + +2009-08-14 Joel E. Denny + + update-copyright: implement forced reformatting + * build-aux/update-copyright: Implement and document + UPDATE_COPYRIGHT_FORCE. + * tests/test-update-copyright.sh: Test it. + +2009-08-14 Eric Blake + and Bruno Haible + + stddef: fix NetBSD 5.0 NULL bug, rather than working around it + * tests/test-locale.c: Revert previous patch related to NULL. + * tests/test-stdio.c: Likewise. + * tests/test-stdlib.c: Likewise. + * tests/test-string.c: Likewise. + * tests/test-unistd.c: Likewise. + * modules/time-tests (Depends-on): Add verify. + * modules/wchar-tests (Depends-on): Likewise. + * tests/test-time.c: Test for NULL compliance. + * tests/test-wchar.c: Likewise. + * modules/locale (Depends-on): Add stddef. + * modules/stdio (Depends-on): Likewise. + * modules/stdlib (Depends-on): Likewise. + * modules/string (Depends-on): Likewise. + * modules/time (Depends-on): Likewise. + * modules/unistd (Depends-on): Likewise. + * modules/wchar (Depends-on): Likewise. + * lib/locale.in.h (includes): Use to fix NULL. + * lib/stdlib.in.h (includes): Likewise. + * lib/string.in.h (includes): Likewise. + * lib/time.in.h (includes): Likewise. + * lib/unistd.in.h (includes): Likewise. + * m4/locale_h.m4 (gl_LOCALE_H): Replace locale.h if stddef.h was + replaced. + * m4/wchar.m4 (gl_WCHAR_H): Likewise. + * m4/stddef_h.m4: New file. + * modules/stddef: Likewise. + * lib/stddef.in.h: Likewise. + * modules/stddef-tests: Likewise. + * tests/test-stddef.c: Likewise. + * MODULES.html.sh (Basic types ): Mention new module. + * doc/posix-headers/stddef.texi (stddef.h): Document the bug. + * doc/posix-headers/locale.texi (locale.h): Likewise. + * doc/posix-headers/stdio.texi (stdio.h): Likewise. + * doc/posix-headers/stdlib.texi (stdlib.h): Likewise. + * doc/posix-headers/string.texi (string.h): Likewise. + * doc/posix-headers/time.texi (time.h): Likewise. + * doc/posix-headers/unistd.texi (unistd.h): Likewise. + * doc/posix-headers/wchar.texi (wchar.h): Likewise. + 2009-08-14 Eric Blake doc: improve git diff of texinfo files @@ -491,7 +865,7 @@ different project/version. 2009-08-02 Paolo Bonzini - Bruno Haible + Bruno Haible Tests for module 'pipe-filter-gi'. * modules/pipe-filter-gi-tests: New file. @@ -506,7 +880,7 @@ * modules/pipe-filter-gi: New file. 2009-08-02 Bruno Haible - Paolo Bonzini + Paolo Bonzini Tests for module 'pipe-filter-ii'. * modules/pipe-filter-ii-tests: New file. @@ -532,7 +906,7 @@ * lib/gethostname.c: Include limits.h. 2009-08-02 Simon Josefsson - Bruno Haible + Bruno Haible Ensure HOST_NAME_MAX as part of the gethostname module. * m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): On native Windows platforms,