At 12:21 PM 2/15/2001, Jean Delvare wrote: > > Its not a Cygwin invention. Its a MS one. Check out the documentation > > for open()/_open() on the MSDN. They use the _O_BINARY flag. Don't get me > > wrong. I hate text mode in all its forms. Perhaps Cygwin could've forgone > > its use here. Maybe not. However, doing so here follows the MS lead and > > wasn't a Cygwin concoction. >I don't use MS development softwares. That's not the point here. Cygwin >intends to provide an environment for fast port from Unix to Windows, so >what it must look and behave like is Unix, not Windows. And the fast if, >O_BINARY and O_TEXT are not defined on Unix systems. Moreover, a file >descriptor is always working in binary mode on Unix. Thus, the choice >Cygwin made here will necessary cause problems to anyone porting a >software using file descriptors, and there must (and will) be thousands, >for sure. > >I strongly believe that the correct behavior would be to consider any file >descriptor as binary. People needing higher lever control are supposed to >use handles anyway, not descriptors. Feel free to start another binary vs text file debate/war but for the sanity of all on this list that have lived through it many times before here, take it up on another list. Thanks, Larry Hall [EMAIL PROTECTED] 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
Re: file descriptors opened as text files
Larry Hall (RFK Partners, Inc) Thu, 15 Feb 2001 10:19:12 -0800
- Re: file descriptors opened as tex... Larry Hall (RFK Partners Inc)
- Re: file descriptors opened as text files Larry Hall (RFK Partners Inc)
- Re: file descriptors opened as text fi... Jean Delvare
- Re: file descriptors opened as tex... Larry Hall (RFK Partners Inc)
- Re: file descriptors opened as tex... Ross Smith
- Re: file descriptors opened as tex... Christopher Faylor
- Re: file descriptors opened as tex... Jesper Eskilson
- Re: file descriptors opened as tex... Jean Delvare
- Re: file descriptors opened as tex... Larry Hall (RFK Partners, Inc)
- Re: file descriptors opened as tex... Jean Delvare
- Re: file descriptors opened as tex... Larry Hall (RFK Partners, Inc)
- Re: file descriptors opened as tex... Christopher Faylor
- Re: file descriptors opened as tex... DJ Delorie
- Re: file descriptors opened as tex... Jean Delvare
- Re: file descriptors opened as tex... Larry Hall (RFK Partners, Inc)
- Re: file descriptors opened as tex... Jean Delvare
- Re: file descriptors opened as tex... Larry Hall (RFK Partners, Inc)
- Re: file descriptors opened as tex... Christopher Faylor
- Re: file descriptors opened as tex... Earnie Boyd
- Re: file descriptors opened as tex... Corinna Vinschen
- Re: file descriptors opened as tex... Earnie Boyd