This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/682] stdout and file descriptor mismatch after a freopen()
- From: "jakub at redhat dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 14 Feb 2005 17:36:19 -0000
- Subject: [Bug libc/682] stdout and file descriptor mismatch after a freopen()
- References: <20050119161710.682.vincent+libc@vinc17.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From jakub at redhat dot com 2005-02-14 17:36 -------
This violates POSIX:
http://www.opengroup.org/onlinepubs/009695399/functions/open.html
Open must always return the lowest numbered unused fd if it succeeds.
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=682
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.