From: fjh@cs.mu.OZ.AU (Fergus Henderson)
Subject: text-vs-binary yet again
14 Mar 1998 14:16:34 -0800
Message-ID: <19980312142706.07929.cygnus.gnu-win32@murlibobo.cs.mu.OZ.AU>
References: <19980310124308.20991.qmail@hotmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
To: Earnie Boyd <earnie_boyd@hotmail.com>
Cc: gnu-win32@cygnus.com

On 10-Mar-1998, Earnie Boyd <earnie_boyd@hotmail.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@cs.mu.oz.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@128.250.37.3        |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
