Subject: Re: Problem with stdout BINARY
From: [email-masked] ("Stephen Crowley")

12 Jun 1997 01:13:24 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Original-To: "Philippe Chapuy" <[email-masked]>,
        "Cygnus gnuwin32" <[email-masked]>
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1161
Original-Sender: [email-masked]

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

setmode(fileno(stdout), O_BINARY);

> From: Philippe Chapuy <[email-masked]>
> To: Cygnus gnuwin32 <[email-masked]>
> 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
"[email-masked]" with one line of text: "help".