From: stephenc AT wf DOT net ("Stephen Crowley") Subject: Re: Problem with stdout BINARY 12 Jun 1997 01:13:24 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199706120419.XAA20978.cygnus.gnu-win32@odin.wf.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Original-To: "Philippe Chapuy" , "Cygnus gnuwin32" X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 Original-Sender: owner-gnu-win32 AT cygnus DOT com I dunno if this is what you are talking about but i use setmode(fileno(stdout), O_BINARY); > From: Philippe Chapuy > To: Cygnus gnuwin32 > Subject: Problem with stdout BINARY > Date: Wednesday, June 11, 1997 5:29 AM > > Trying to write gif file in stdout with 'putchar'. b18 seems to add a CRNL > every CR he > founds in the file. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".