opening stdin in binary mode?

jsc@atype.com jsc@atype.com
Tue Feb 18 09:12:00 GMT 1997


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".



More information about the Cygwin mailing list