+2009-10-02 Eric Blake <ebb9@byu.net>
+
+ test-open: support mingw errno values
+ * tests/test-open.h (test_open): Relax test.
+ * tests/test-fopen.h (test_fopen): Likewise.
+ * tests/test-openat-safer.c (main): Likewise.
+
+ open: fix opening directory on mingw
+ * lib/open.c (open) [REPLACE_OPEN_DIRECTORY]: Correct typo.
+
+ test-open: on GNU/Hurd, /dev/null is a directory
+ * tests/test-fopen.h (main): Rename...
+ (test_fopen): ...to this. Use a guaranteed non-directory when
+ confirming open behavior on trailing slash.
+ * tests/test-openat-safer.c (main): Likewise.
+ * tests/test-open.h (main): Likewise....
+ (test_open): ...to this.
+ * tests/test-fopen.c (main): Adjust caller.
+ * tests/test-fopen-safer.c (main): Likewise.
+ * tests/test-open.c (main): Likewise.
+ * tests/test-fcntl-safer.c (main): Likewise.
+ Reported by Samuel Thibault.
+
+ rename, fchdir: don't ignore chdir failure
+ * lib/fchdir.c (get_name): Abort on unexpected chdir failure.
+ * lib/rename.c (rpl_rename) [W32]: Likewise.
+ (rpl_rename) [RENAME_DEST_EXISTS_BUG]: Avoid one case of losing
+ an empty destination directory if source cannot be renamed,
+ although there is still possibility for failure.
+ * doc/posix-functions/rename.texi (rename): Document the race.
+ Reported by Jim Meyering.
+
+ maint: cleanup whitespace in recent commits
+ * lib/rename.c (rpl_rename): Remove tabs.
+ * tests/test-link.h (test_link): Likewise.
+ * lib/fchdir.c (get_name): Likewise.
+ Reported by Jim Meyering.
+