Subject: Re: Problem with stdout BINARY
From: [email-masked] (Blake McBride)

11 Jun 1997 17:15:17 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: [email-masked]
X-Mailer: Windows Eudora Version 2.1.1
Original-To: [email-masked] (Cygnus gnuwin32)
Original-Sender: [email-masked]

At 11:29 AM 6/11/97 +0100, you wrote:
>Hi everybody,
>
>Trying to write gif file in stdout with 'putchar'. b18 seems to add a CRNL
>every CR he
>founds in the file.

You know it's one of life's great mysteries.  stdxxx used to be opened in
binary mode and then someone changed it.   It seems to me that it's got
to be trivial to switch it back.  The reason for changing it is unknown
to me.  Since they've changed it to TEXT mode you can't even execute:

gzip -dc abc.tar.gz |tar xvf -

anymore.  I don't have time to find and fix the problem for my own use
and this is the only reason I don't use gnu-win32.

--blake

--
Download source code to my Dynace Object 
Oriented Extension to C from:
http://www.edge.net/algorithms
Blake McBride ([email-masked])
Algorithms Corporation - 615-791-1636 - USA

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".