This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

opening stdin in binary mode?


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


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