Date: Sun, 29 Sep 1996 11:25:06 +0200 (IST) From: Eli Zaretskii To: Josh Humphries Cc: djgpp AT delorie DOT com Subject: Re: setmode() w/ djgpp v2.0 In-Reply-To: <199609281357.JAA08442@acmey.gatech.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 28 Sep 1996, Josh Humphries wrote: > The routine setmode (int fd, int mode) is supposed to be able to change > text files to binary - it did work before (I have a program that ouputs > binary image data and by default it goes to STDOUT - you can redirect it > and any LFs wont get CRs appended...). Now it does not even pretend to work. `setmode' works, and works well. I just finished to port a lot of GNU programs and used it extensively there. Please post the code fragment showing how do you use `setmode' and what tests convinced you that it doesn't work.