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/


Reply via email to