Bug #1582 ยป io-new-raises-einval.patch
io.c | ||
---|---|---|
fp->stdio_file = stdout;
|
||
else if (fileno(stderr) == fd)
|
||
fp->stdio_file = stderr;
|
||
else
|
||
fp->stdio_file = rb_fdopen(fd, rb_io_oflags_modestr(oflags));
|
||
return io;
|
||
}
|