This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug stdio/15589] freopen would close oldfd even though oldfd is same as newfd


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

Paul Eggert <eggert at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eggert at gnu dot org

--- Comment #6 from Paul Eggert <eggert at gnu dot org> ---
This bug turns out to break GNU core utilities like 'uniq' and 'shuf'. See
coreutils Bug#25029:

https://bugs.gnu.org/25029

I suppose we will look into a workaround by adding a Gnulib wrapper for
freopen, but it would be nicer if this bug were fixed in glibc.

Also, Bug#15701 appears to be a duplicate of this bug.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]