This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: file descriptors opened as text files
- To: DJ Delorie <dj at delorie dot com>
- Subject: Re: file descriptors opened as text files
- From: Jean Delvare <delvare at ensicaen dot ismra dot fr>
- Date: Thu, 15 Feb 2001 18:12:55 +0100 (MET)
- Cc: lhall at rfk dot com, cygwin at sources dot redhat dot com
Whaou, DJ Delorie writing to me :)
> The best way to make this portable is to do this:
>
> #include <fcntl.h>
> #ifndef O_BINARY
> #define O_BINARY 0
> #endif
Of course it is. And of course it is what I did :)
I'm not complaining for myself anymore, now I know how to handle the
problem. But I thing there is something terribly weird there, and I
believe it will cause unrequired problem to many developpers. Am I really
the first one to complain about this here ?
Arguments follow.
Thanks anyway :)
--
/~~ Jean "Khali" Delvare
-----\_ mail: delvare@ensicaen.ismra.fr
--------\ http://www.ensicaen.ismra.fr/~delvare/
---=ISMRA/- ____________________________________________________
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple