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 libc/4559] freopen failed if asked to open /dev/stdin


------- Additional Comments From addw at phcomp dot co dot uk  2007-05-30 21:55 -------
That works if you are writing a C program. If someprogram that uses freopen()
and you give it a command line argument of /dev/stdin, expecting it to process
stdin, you will get a nasty surprise.
For this to work the program itself would need to specially recognise /dev/stdin
and /dev/fd/0 and ....

I am trying to make life easy for the application writer.

-- 


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.


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