Mercurial > hg > octave-nkf > gnulib-hg
changeset 12605:c7910f932a31
dup2: work around mingw bug
dup2 (fd, -2) returned -2 instead of the proper -1.
* lib/dup2.c (rpl_dup2): Sanitize return value on mingw.
Reported by Simon Josefsson.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Fri, 08 Jan 2010 08:17:00 -0700 |
parents | cb14b3e81bd7 |
children | 47c45341eca0 |
files | ChangeLog lib/dup2.c |
diffstat | 2 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff