public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: file descriptors opened as text files
@ 2001-02-15 15:53 Heribert Dahms
  2001-02-15 16:06 ` Larry Hall (RFK Partners, Inc)
  2001-02-16  8:12 ` Ehud Karni
  0 siblings, 2 replies; 36+ messages in thread
From: Heribert Dahms @ 2001-02-15 15:53 UTC (permalink / raw)
  To: 'Larry Hall (RFK Partners Inc)', Jean Delvare, cygwin

Hi Larry,

you forgot about another level of default:

From:	Chris Faylor [cgf@cygnus.com]
Sent:	Friday, July 28, 2000 21:13
To:	cygwin@sources.redhat.com
Subject:	[ANNOUNCEMENT] Updated: Cygwin DLL 1.1.3


- binmode.o and textmode.o files are now available for linking with an
  application to force an application to open files in binmode or
  textmode by default.


Bye, Heribert (heribert_dahms@icon-gmbh.de)

> -----Original Message-----
> From:	Larry Hall (RFK Partners Inc) [SMTP:lhall@rfk.com]
> Sent:	Wednesday, February 14, 2001 23:51
> To:	Jean Delvare; cygwin@cygwin.com
> Subject:	Re: file descriptors opened as text files
> 
> This is the key phrase.  cygwin1.dll is always required.  If you use it,
> it handles your program's interaction with the Windows' system.
> Regardless
> of whether there is an explicit mount point or not, Cygwin controls the
> behavior.  For files, the default treatment is always text, unless a mount
> or the program itself indicates otherwise.
> 

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 36+ messages in thread
* file descriptors opened as text files
@ 2001-02-14 13:13 Jean Delvare
  2001-02-14 13:22 ` Larry Hall (RFK Partners Inc)
  0 siblings, 1 reply; 36+ messages in thread
From: Jean Delvare @ 2001-02-14 13:13 UTC (permalink / raw)
  To: cygwin

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 ?

-- 
       /~~       Jean "Khali" Delvare
  -----\_                        mail: delvare@ensicaen.ismra.fr
 --------\                http://www.ensicaen.ismra.fr/~delvare/
---=ISMRA/- ____________________________________________________


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 36+ messages in thread
[parent not found: <BF35D9C143BCCC4EB63181B67C9320C804DD0F@serv-075.icon-germa>]

end of thread, other threads:[~2001-02-16  8:12 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-15 15:53 file descriptors opened as text files Heribert Dahms
2001-02-15 16:06 ` Larry Hall (RFK Partners, Inc)
2001-02-15 18:26   ` Christopher Faylor
2001-02-16  8:12 ` Ehud Karni
  -- strict thread matches above, loose matches on Subject: below --
2001-02-14 13:13 Jean Delvare
2001-02-14 13:22 ` Larry Hall (RFK Partners Inc)
2001-02-14 13:40   ` Jean Delvare
2001-02-14 13:58     ` Larry Hall (RFK Partners Inc)
2001-02-14 14:12       ` Jean Delvare
2001-02-14 14:21         ` Larry Hall (RFK Partners Inc)
2001-02-14 14:46           ` Jean Delvare
2001-02-14 15:00             ` Larry Hall (RFK Partners Inc)
2001-02-14 16:54               ` Ross Smith
2001-02-14 19:28                 ` Christopher Faylor
2001-02-15  1:36                 ` Jesper Eskilson
2001-02-15  6:39               ` Jean Delvare
2001-02-15  7:54                 ` Larry Hall (RFK Partners, Inc)
2001-02-15  9:21                   ` Jean Delvare
2001-02-15  9:24                     ` Larry Hall (RFK Partners, Inc)
2001-02-15 10:37                     ` Christopher Faylor
2001-02-15  7:59                 ` DJ Delorie
2001-02-15  9:12                   ` Jean Delvare
2001-02-15  9:17                     ` Larry Hall (RFK Partners, Inc)
2001-02-15  9:28                       ` Jean Delvare
2001-02-15  9:37                         ` Larry Hall (RFK Partners, Inc)
2001-02-15 10:38                         ` Christopher Faylor
2001-02-15 10:11                     ` Earnie Boyd
2001-02-15  8:04                 ` Corinna Vinschen
2001-02-15  8:04                 ` Earnie Boyd
2001-02-15  9:30                   ` Jean Delvare
2001-02-15 21:11                 ` Lothan
2001-02-14 15:04             ` Christopher Faylor
2001-02-14 14:21         ` Christopher Faylor
2001-02-14 14:30           ` Jean Delvare
2001-02-14 14:40             ` Christopher Faylor
2001-02-14 14:51             ` Larry Hall (RFK Partners Inc)
     [not found] <BF35D9C143BCCC4EB63181B67C9320C804DD0F@serv-075.icon-germa>

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).