This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: starting a cygwin app from a Windows Service


> -----Original Message-----
> From: Christopher Faylor [mailto:cgf@redhat.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]