From: stephenc@wf.net ("Stephen Crowley")
Subject: Re: Problem with stdout BINARY
12 Jun 1997 01:13:24 -0700
Approved: cygnus.gnu-win32@cygnus.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" <pchapuy%cgsmail@capgemini.fr>,
        "Cygnus gnuwin32" <gnu-win32@cygnus.com>
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1161
Original-Sender: owner-gnu-win32@cygnus.com

I dunno if this is what you are talking about but i use

setmode(fileno(stdout), O_BINARY);

> From: Philippe Chapuy <pchapuy%cgsmail@capgemini.fr>
> To: Cygnus gnuwin32 <gnu-win32@cygnus.com>
> 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@cygnus.com" with one line of text: "help".
