\n to \r\n in stdout

John Love-Jensen eljay@adobe.com
Mon Nov 7 12:52:00 GMT 2005


Hi Thales,

I did not realize you were using C-style input/output.

Try this before using stdout for anything else:
setmode(fileno(stdout), O_BINARY);

HTH,
--Eljay





More information about the Gcc-help mailing list