delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/14/16:27:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <5.0.2.1.0.20010214161933.00a7b440@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Wed, 14 Feb 2001 16:21:26 -0500
To: Jean Delvare <delvare AT ensicaen DOT ismra DOT fr>, cygwin AT sources DOT redhat DOT com
From: "Larry Hall (RFK Partners Inc)" <lhall AT rfk DOT com>
Subject: Re: file descriptors opened as text files
In-Reply-To: <Pine.SO4.4.05.10102142152410.22033-100000@e3000.ensicaen.i
smra.fr>
Mime-Version: 1.0

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 AT rfk DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019