Mercurial > hg > octave-lojdl > gnulib-hg
changeset 12607:6b3184074239
lib/dup2.c (rpl_dup2): Improve comment.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Fri, 08 Jan 2010 23:29:17 +0100 |
parents | 47c45341eca0 |
children | d2cfa946257a |
files | ChangeLog lib/dup2.c |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- a/lib/dup2.c +++ b/lib/dup2.c @@ -52,8 +52,8 @@ } 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;