Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 , cygwin AT sources DOT redhat DOT com From: "Larry Hall (RFK Partners Inc)" Subject: Re: file descriptors opened as text files In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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