delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/16/19:49:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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
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" <rcampbell AT tropicnetworks DOT com>
To: <cygwin AT cygwin DOT com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019