[Bug stdio/21398] freopen does not check dup3 return value, and does not return error if dup3 fails (seen when open returns fd 0, and freopen on stdin)

schwab@linux-m68k.org sourceware-bugzilla@sourceware.org
Wed Apr 19 12:03:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=21398

--- Comment #5 from Andreas Schwab <schwab@linux-m68k.org> ---
freopen operates on streams, not file descriptors.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list