This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4559] freopen failed if asked to open /dev/stdin
- From: "addw at phcomp dot co dot uk" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 30 May 2007 22:12:51 -0000
- Subject: [Bug libc/4559] freopen failed if asked to open /dev/stdin
- References: <20070529175344.4559.addw@phcomp.co.uk>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From addw at phcomp dot co dot uk 2007-05-30 22:12 -------
I quite agree that the freopen() manual is very clear, but a user of an
application is not going to read that. They will read the application manual
that will say something like:
foobar <inputFile> <outputFile>
and so expect to type:
someCommand | foobar /dev/stdin /tmp/SomeOutputFile
There are a few programs that have that sort of syntax, they don't work with
/dev/stdin.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4559
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.