Akim Demaille writes: > Does anybody know whether using fopen (foo, "wb") is portable? Extremely doubtful. In this particular case you can work around by using open() and write() and define O_BINARY to be 0 if not defined already. Other possible approaches: * Focus on avoiding getting the \r into config.status. * Do not print an end-of-line at all. -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/
- Portability of fopen (foo, "wb") (Was: bug in A... Akim Demaille
- Re: Portability of fopen (foo, "wb") (Was:... Alexandre Oliva
- Re: Portability of fopen (foo, "wb") (Was:... Earnie Boyd
- Re: Portability of fopen (foo, "wb") (... Akim Demaille
- Re: Portability of fopen (foo, "wb") (... John W. Eaton
- Re: Portability of fopen (foo, "wb") (Was:... Peter Eisentraut
- Re: Portability of fopen (foo, "wb") (Was:... Akim Demaille
- Re: Portability of fopen (foo, "wb") (... Paul Eggert
- Re: Portability of fopen (foo, "wb") (Was:... Guido Draheim
- Re: Portability of fopen (foo, "wb") (... Guido Draheim
- Re: Portability of fopen (foo, "wb") (Was:... Earnie Boyd