This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: file descriptors opened as text files
- To: Jean Delvare <delvare at ensicaen dot ismra dot fr>, cygwin at sources dot redhat dot com
- Subject: Re: file descriptors opened as text files
- From: "Larry Hall (RFK Partners Inc)" <lhall at rfk dot com>
- Date: Wed, 14 Feb 2001 16:21:26 -0500
At 04:10 PM 2/14/01, Jean Delvare wrote:
>Hello.
>
>I am opening a file with open(), and just read() from it. With Win 98, it
>is opened as a binary file. With Win 98 SE, it is opened as text file. How
>is it possible ?
>
>I'm not opening files on a mounted file system, but directly from Windows.
>Isn't supposed to be the same on all Windows versions ?
The output of cygcheck -s -r -v would undoubtedly point to the difference.
My guess is that you are either opening the file in a mounted file system
or the default mode for opening unmounted files is different on the two
systems. This has nothing to do with Windows.
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
118 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple