X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=5f1cf5e9a789906cb29e883f9ac174b8dd5e3bfa;hb=8ae6a07d62256797e8ddcc918ff3e4f10ff69417;hp=8164e1100bbbb2214e84bf0e0c109a8e200419cb;hpb=68a03407e9363df6023b715b6dad8f5d043450cd;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 8164e1100..5f1cf5e9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,284 @@ +2009-08-02 Paolo Bonzini + Bruno Haible + + Tests for module 'pipe-filter-gi'. + * modules/pipe-filter-gi-tests: New file. + * tests/test-pipe-filter-gi1.sh: New file. + * tests/test-pipe-filter-gi1.c: New file. + * tests/test-pipe-filter-gi2.sh: New file. + * tests/test-pipe-filter-gi2-main.c: New file. + * tests/test-pipe-filter-gi2-child.c: New file. + + New module 'pipe-filter-gi'. + * lib/pipe-filter-gi.c: New file. + * modules/pipe-filter-gi: New file. + +2009-08-02 Bruno Haible + Paolo Bonzini + + Tests for module 'pipe-filter-ii'. + * modules/pipe-filter-ii-tests: New file. + * tests/test-pipe-filter-ii1.sh: New file. + * tests/test-pipe-filter-ii1.c: New file. + * tests/test-pipe-filter-ii2.sh: New file. + * tests/test-pipe-filter-ii2-main.c: New file. + * tests/test-pipe-filter-ii2-child.c: New file. + + New module 'pipe-filter-ii'. + * lib/pipe-filter.h: New file. + * lib/pipe-filter-ii.c: New file. + * lib/pipe-filter-aux.h: New file. + * modules/pipe-filter-ii: New file. + +2009-08-02 Simon Josefsson + + * lib/gc-libgcrypt.c: Change copyright to FSF. + * lib/gc-gnulib.c: Likewise. + +2009-08-02 Martin Lambers (tiny change) + + * lib/gethostname.c: Include limits.h. + +2009-08-02 Simon Josefsson + Bruno Haible + + Ensure HOST_NAME_MAX as part of the gethostname module. + * m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): On native Windows platforms, + define also HOST_NAME_MAX. + * tests/test-gethostname.c: Include . + (main): Check also HOST_NAME_MAX. + * doc/posix-headers/limits.texi: Document the mingw problem. + +2009-08-02 Bruno Haible + + * lib/gethostname.c (gethostname): Fix handling of large len argument. + Add comments. + +2009-03-31 Simon Josefsson + + * lib/gethostname.c: Add Windows wrapper. + * m4/gethostname.m4: Look for gethostname in -lws2_32. + * modules/gethostname: Depend on sys_socket & errno, for also + added lib/w32sock.h. Add GETHOSTNAME_LIB link directive. + * modules/gethostname-tests: Link to @GETHOSTNAME_LIB@. + +2009-07-31 Jim Meyering + + getloadavg: fix symbol name in comment + * lib/getloadavg.c: Correct a typo I introduced when adding + comments to Matt's change: s/NLIST_POINTER/N_NAME_POINTER/. + Matt Kraai spotted the problem. + +2009-07-29 Matt Kraai + + getloadavg: check whether n_name is a pointer, for QNX 6.4.1 + * lib/getloadavg.c (getloadavg): Use the strcpy-into-nlist.n_name + code also if ! defined N_NAME_POINTER. + * m4/getloadavg.m4 (gl_GETLOADAVG): Add a link-test for N_NAME_POINTER. + This is required on QNX 6.4.1, where /usr/include/nlist.h exists, + but the n_name member is a 12-byte array. + +2009-07-29 Joel E. Denny + + update-copyright: generalize comment handling + * build-aux/update-copyright: Handle copyright statements + within more comment styles. + Document usage. + Report any file with an external copyright holder or parse failure. + +2009-07-29 Jim Meyering + + mktime: correct setting of REPLACE_MKTIME + * m4/mktime.m4 (gl_FUNC_MKTIME): Set REPLACE_MKTIME=0, when required. + + update-copyright: new module + * modules/update-copyright: New file. + * build-aux/update-copyright: New file. + * MODULES.html.sh (maint+release support): Add update-copyright. + +2009-07-27 Bruno Haible + + Fix compilation error when is used and mktime is replaced. + * lib/time.in.h (mktime): New declaration. + * m4/mktime.m4 (gl_FUNC_MKTIME): Require gl_HEADER_TIME_H_DEFAULTS. Set + REPLACE_MKTIME instead of defining mktime in config.h. + * m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize REPLACE_MKTIME. + * modules/time (Makefile.am): Substitute REPLACE_MKTIME. + Reported by Ross McFarland . + +2009-07-27 Bruno Haible + + * lib/math.in.h (cosl, logl, sinl): Undefine before declaring it. + Reported by Matt Kraai . + +2009-07-25 Jim Meyering + + maint.mk: avoid warnings about missing files + * top/maint.mk (PREV_VERSION): Suppress stderr, to hide a + diagnostic when .prev-version does not exist. + (_cfg_mk): Define, so it can be empty when cfg.mk does not exist. + (syntax-check-rules): Use $(_cfg_mk) to avoid a diagnostic about + nonexistent cfg.mk. + Suggestions from Simon Josefsson. + +2009-07-25 Bruno Haible + + * lib/math.in.h (cosl, logl, sinl): Don't declare if they are already + defined as macros. Needed on QNX 6.4.1. + Reported by Matt Kraai . + +2009-07-23 Jim Meyering + + maint.mk: invoke "make dist" with a working value of XZ_OPT + * top/maint.mk (vc-dist): Use no "-" in the value of XZ_OPT. + +2009-07-22 Matt Kraai (tiny change) + + Make fseeko.c compile on QNX. + * lib/fseeko.c (rpl_fseeko): Use the numerical value of _MWRITE. + +2009-07-22 Peter Simons + + C++: wrap md2,md5,sha1,etc. function declarations in extern "C" scope + * lib/md2.h [__cplusplus]: Wrap declarations in extern "C" scope. + * lib/md4.h: Likewise. + * lib/md5.h: Likewise. + * lib/sha1.h: Likewise. + * lib/sha256.h: Likewise. + * lib/sha512.h: Likewise. + + tests-sha1: don't assign literal string to 'char *' variable + * tests/test-sha1.c (main): Declare locals with "const" to match + attributes of the right hand side. + +2009-07-21 Eric Blake + + dup2: fix more mingw problems + * lib/dup2.c (rpl_dup2) [_WIN32]: Avoid hanging when duplicating + fd to itself. + * doc/posix-functions/dup2.texi (dup2): Document the bug. + * lib/unistd.in.h (dup2) [REPLACE_FCHDIR]: Avoid name collision. + * lib/fchdir.c (dup2): Manage preprocessor macros correctly. + (rpl_dup2_fchdir): Rename from rpl_dup2, and let dup2 module take + care of mingw bugs. + +2009-07-21 Jim Meyering + + vc-list-files: avoid failure when /bin/sh is dash + * build-aux/vc-list-files: Avoid a shell portability problem with dash. + On some Debian based systems, /bin/sh is a symlink to dash, and running + this command would omit the "/" following each 'tests' prefix: + dash -x build-aux/vc-list-files -C . tests + That is because bash and dash work differently: + $ for i in bash dash; do $i -c 'a=odd; a=ok b=$a; echo '$i' $b'; done + bash ok + dash odd + +2009-07-21 Eric Blake + + dup2-tests: test previous patch + * modules/dup2-tests: New file. + * tests/test-dup2.c: Likewise. + * tests/test-open.c (main): Avoid unspecified behavior. + * tests/test-pipe.c (child_main): Use dup2 semantics to simplify + test. + + dup2: work around mingw and cygwin 1.5 bug + * m4/dup2.m4 (gl_FUNC_DUP2): Detect mingw bug. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add witness. + * modules/unistd (Makefile.am): Substitute it. + * lib/unistd.in.h (dup2): Declare the replacement. + * lib/dup2.c (dup2) [REPLACE_DUP2]: Implement it. + * doc/posix-functions/dup2.texi (dup2): Document the bugs. + * lib/fchdir.c (rpl_dup2): Don't collide with mingw replacement. + * modules/execute (Depends-on): Add dup2. + * modules/fseterr (Depends-on): Likewise. + * modules/pipe (Depends-on): Likewise. + * modules/posix_spawn-internal (Depends-on): Likewise. + +2009-07-21 Bruno Haible + + * modules/.gitattributes: New file. + +2009-07-20 Bruno Haible + + * tests/test-pipe.c (BACKUP_STDERR_FILENO): New macro. + (main): Use it. + +2009-07-20 Eric Blake + + test-pipe: make a bit more robust. + * tests/test-pipe.c (myerr): Allow error messages regardless of + what we do to stderr. + (test_pipe): Rearrange to avoid deadlock. + (child_main): Try a larger read, to ensure we avoided deadlock. + * lib/pipe.c (create_pipe) [_WIN32]: Fix comment. + * lib/pipe.h (create_pipe_bidi): Document potential for deadlock + if misused. + +2009-07-19 Jim Meyering + + fts: avoid false-positive cycle-detection + * lib/fts.c (fts_read): Reinitialize cycle-detection data structures + for each new command line argument. + +2009-07-19 Bruno Haible + + Fix build error on mingw with the modules sys_select and unistd. + * modules/acl-tests (Depends-on): Add close. + * modules/binary-io-tests (Depends-on): Likewise. + * modules/closein-tests (Depends-on): Likewise. + * modules/flock-tests (Depends-on): Likewise. + * modules/fsync-tests (Depends-on): Likewise. + * modules/lseek-tests (Depends-on): Likewise. + * modules/pipe-tests (Depends-on): Likewise. + * modules/posix_spawn-tests (Depends-on): Likewise. + * modules/posix_spawnp-tests (Depends-on): Likewise. + * modules/stat-time-tests (Depends-on): Likewise. + * modules/yesno-tests (Depends-on): Likewise. + +2009-07-19 Bruno Haible + + Unify conditionals. + * lib/pipe.h: Detect native Win32 by looking at _WIN32 and __WIN32__ + macros, not at the compiler macros. + * lib/pipe.c: Likewise. + * lib/execute.c: Likewise. + * lib/spawni.c: Likewise. + +2009-07-19 Bruno Haible + + Fix handling of closed stdin/stdout/stderr on mingw. + * lib/w32spawn.h: Include unistd.h. + (dup_noinherit): Return -1 if the old handle is invalid. Allocate new + file descriptor with O_NOINHERIT flag. + (fd_safer_noinherit): New function, based on fd-safer.c. + (dup_safer_noinherit): New function, based on dup-safer.c. + (undup_safer_noinherit): New function. + * lib/execute.c (execute) [WIN32]: Use dup_safer_noinherit instead of + dup_noinherit. Use undup_safer_noinherit instead of dup2 and close. + * lib/pipe.c (create_pipe) [WIN32]: Likewise. Use fd_safer_noinherit + instead of fd_safer. + * tests/test-pipe.c: Include . + (child_main) [WIN32]: Test the handle of STDERR_FILENO, not its close() result. + + * tests/test-pipe.c (child_main, parent_main): New functions, extracted + from main. + (test_pipe): Pass an extra argument for disambiguation. + (main): Invoke parent_main or child_main. + + * tests/test-pipe.c (test_pipe): Pass slave_process = true argument + consistently. + +2009-07-18 Eric Blake + + test-pipe: fix mingw build + * tests/test-pipe.c (main): Avoid fcntl on mingw. + +2009-07-18 Bruno Haible + + * modules/pipe-tests (Makefile.am): Fix typo. + 2009-07-18 Eric Blake error: fix mingw build