From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Ring To: "'earnie_boyd@yahoo.com'" , 'cygwin users' Subject: RE: LF vs. CR/LF (WAS: Problems with libtiff!) Date: Wed, 30 Jun 1999 22:10:00 -0000 Message-ID: X-SW-Source: 1999-06n/msg00471.html Message-ID: <19990630221000.dj-EZjLYIKyW0dZv4_PqhpEK4PPM6qcY9IUizT9K7MQ@z> What is the correct way to open, read, and write a 'text' file on a filesystem shared between a number of different operating systems? (please note that this is in effect what cygwin amounts to). The scenario could be a 'text' file shared between MacOS, WinNT, and some UNIX-like OS. The file might be shared in several ways, some of which would make it impractical (if not outright nonsense) to talk about one specific OS 'hosting' the file. Some applications, e.g. emacs, try to guess from the file's content what to do. Obviously, this works only for interactive applications. I won't argue with the benefits of explicitly opening files 'rb'. I just wonder why anyone would ever want to do anytning else? Kind regards Peter Ring -----Original Message----- From: Earnie Boyd [ mailto:earnie_boyd@yahoo.com ] Sent: Monday, June 21, 1999 4:29 PM To: cygwin users Subject: Re: LF vs. CR/LF (WAS: Problems with libtiff!) Welcome to the world of portable programming. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com