Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 15 Feb 2001 18:12:55 +0100 (MET)
From: Jean Delvare <delvare@ensicaen.ismra.fr>
To: DJ Delorie <dj@delorie.com>
Cc: lhall@rfk.com, cygwin@sources.redhat.com
Subject: Re: file descriptors opened as text files
In-Reply-To: <200102151559.KAA31161@envy.delorie.com>
Message-ID: <Pine.GSO.4.21.0102151804460.3505-100000@e450.ensicaen.ismra.fr>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


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

