Mail Archives: cygwin/1998/03/14/14:16:34
On 10-Mar-1998, Earnie Boyd <earnie_boyd AT hotmail DOT com> wrote:
>
> As an aside, I don't know how you are going to use cygwin32 but if you
> plan to port any UNIX code you will need to modify your mounts to be
> text=binary. Check out the archives and FAQ for this.
No, you don't need to modify your mounts to be text=binary.
The other alternative is to fix any places where the source code
of whatever it is you're porting opens binary files without specifying
"b"/O_BINARY in the fopen/open flags, and to fix any places where
the source code makes assumptions about the representation of text
files.
This alternative is a little more work, but the resulting programs
will be able to interoperate with native Windows programs much better.
--
Fergus Henderson <fjh AT cs DOT mu DOT oz DOT au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh AT 128 DOT 250 DOT 37 DOT 3 | -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -