Bug #16903 ยป cygwin.patch
io.c | ||
---|---|---|
return result;
|
||
#ifdef __CYGWIN__
|
||
if (ret == 0 && descriptors[1] == -1) {
|
||
if (result == 0 && descriptors[1] == -1) {
|
||
close(descriptors[0]);
|
||
descriptors[0] = -1;
|
||
errno = ENFILE;
|