Wed Mar 18 16:57:00 GMT 2009
On Mar 18 11:13, Christopher Faylor wrote:
> On Wed, Mar 18, 2009 at 03:41:12PM +0100, Corinna Vinschen wrote:
> >On Mar 18 08:41, Charles Wilson wrote:
> >> Corinna Vinschen wrote:
> >> > On Mar 17 21:15, Charles Wilson wrote:
> >> >>
> >> >> +#if defined(_WIN32) && !defined(__CYGWIN__)
> >> > The !defined(__CYGWIN__) is not necessary because gcc for Cygwin
> >> > doesn't define _WIN32.
> >> gcc does not define it. But the w32api headers DO.
> >Hmpf, right.
> >> > extern int _fmode;
> >> > _fmode = O_BINARY;
> >> I didn't know you could access it directly, outside of cygwin1.dll.
> >Well, it's defined in the application itself.
> >> > But anyway, using binmode.o is much more elegant, IMHO. I don't see
> >> > what speaks against using it.
> >> Well, now that I see libbinmode.a, nothing.
> >Don't use the libFOOmode.a files. They don't do what you want.
> >Actually I think we should remove them better sooner than later.
> No, I've always meant to make these work as planned. It is possible but
> I've never gotten around to it since I created them.
Then we shouldn't install them until they work as advertised.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin