This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
opening stdin in binary mode?
- To: gnu-win32 at cygnus dot com
- Subject: opening stdin in binary mode?
- From: jsc at atype dot com
- Date: 18 Feb 1997 17:03:11 -0000
- Reply-to: jin at atype dot com
I'm trying to work through this problem with patch that I've been
having. I don't want to set fbinary on for the entire system, so I
went through and added O_BINARY and "b" to all the open and fopen
calls I could find. This appears to make it all happy, except
for the case where it's getting input through stdin. How can I get
stdin to behave as if I opened it with "b"?
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".