lib/dup2.c (rpl_dup2): Improve comment.
authorSimon Josefsson <simon@josefsson.org>
Fri, 8 Jan 2010 22:29:17 +0000 (23:29 +0100)
committerSimon Josefsson <simon@josefsson.org>
Fri, 8 Jan 2010 22:29:17 +0000 (23:29 +0100)
ChangeLog
lib/dup2.c

index b1d9a6a79882c24508de76f1be0230ec4bb7def6..4d4137ed42bd7bd90d121d040dd0a5ea029e5f09 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-08  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/dup2.c (rpl_dup2): Improve comment.
+
 2010-01-08  Eric Blake  <ebb9@byu.net>
 
        maint.mk: allow packages to add makefile @@ exceptions
index 9b6a8f6321bd78f3e598fc0a0ce5e80a4194c705..a4422bf3b8c3aed35e4f5bdf2cf734e0a1ce6056 100644 (file)
@@ -52,8 +52,8 @@ rpl_dup2 (int fd, int desired_fd)
         }
       return fd;
     }
-  /* Some mingw versions also return the wrong value if desired_fd is
-     negative but not -1.  */
+  /* Wine 1.0.1 return 0 when desired_fd is negative but not -1:
+     http://bugs.winehq.org/show_bug.cgi?id=21289 */
   if (desired_fd < 0)
     {
       errno = EBADF;