Mail Archives: djgpp/1996/09/29/05:53:58
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.
- Raw text -