This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][BZ #15589] - freopen would close oldfd even though oldfd is same as newfd.
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: OndÅej BÃlka <neleai at seznam dot cz>
- Cc: <lizhijian at cn dot fujitsu dot com>, <libc-alpha at sourceware dot org>
- Date: Sun, 22 Sep 2013 16:29:17 +0000
- Subject: Re: [PATCH][BZ #15589] - freopen would close oldfd even though oldfd is same as newfd.
- Authentication-results: sourceware.org; auth=none
- References: <20130921194736 dot GA9711 at domone dot kolej dot mff dot cuni dot cz>
This looks like a bug for which a testcase could easily be added to the
glibc testsuite, so the patch should add such a test that fails before and
passes after the patch.
--
Joseph S. Myers
joseph@codesourcery.com