From: jsc AT atype DOT com Subject: opening stdin in binary mode? 18 Feb 1997 10:40:05 -0800 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <19970218170311.5419.qmail.cygnus.gnu-win32@beth.atype.com> Reply-To: jin AT atype DOT com Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus 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 AT cygnus DOT com" with one line of text: "help".