+2009-07-25 Jim Meyering <meyering@redhat.com>
+
+ 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 <bruno@clisp.org>
+
+ * 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 <mkraai@beckman.com>.
+
+2009-07-23 Jim Meyering <meyering@redhat.com>
+
+ 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 <mkraai@beckman.com> (tiny change)
+
+ Make fseeko.c compile on QNX.
+ * lib/fseeko.c (rpl_fseeko): Use the numerical value of _MWRITE.
+
+2009-07-22 Peter Simons <simons@cryp.to>
+
+ 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 <ebb9@byu.net>
+
+ 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 <meyering@redhat.com>
+
+ 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 <ebb9@byu.net>
+
+ 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 <bruno@clisp.org>
+
+ * modules/.gitattributes: New file.
+
+2009-07-20 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-pipe.c (BACKUP_STDERR_FILENO): New macro.
+ (main): Use it.
+
+2009-07-20 Eric Blake <ebb9@byu.net>
+
+ 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 <meyering@redhat.com>
+
+ 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 <bruno@clisp.org>
Fix build error on mingw with the modules sys_select and unistd.