delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/15/13:06:06

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 15 Feb 2001 18:12:55 +0100 (MET)
From: Jean Delvare <delvare AT ensicaen DOT ismra DOT fr>
To: DJ Delorie <dj AT delorie DOT com>
Cc: lhall AT rfk DOT com, cygwin AT sources DOT redhat DOT 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

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 AT ensicaen DOT ismra DOT fr
 --------\                http://www.ensicaen.ismra.fr/~delvare/
---=ISMRA/- ____________________________________________________


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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