Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Subject: RE: starting a cygwin app from a Windows Service Date: Wed, 16 Oct 2002 19:49:19 -0400 Message-ID: <83040F98B407E6428FEC18AC720F5D73E50067@exchange.tropicnetworks.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Rolf Campbell" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g9GNnWD05347 > -----Original Message----- > From: Christopher Faylor [mailto:cgf AT redhat DOT com] > > I don't know. I think it would be far simpler to have something like: > > #ifdef __CYGWIN__ > # define READTEXT "rt" > #else > # define READTEXT "r" > #endif > > . > . > . > > FILE fp = fopen ("foo", READTEXT); > Doesn't any libc worth it's wieght ignore the "t"? -Rolf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/