www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/03/26/02:21:07

Date: Mon, 26 Mar 2001 09:18:24 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Str|mberg <ams AT ludd DOT luth DOT se>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Bug 323
In-Reply-To: <200103251451.QAA18175@mother.ludd.luth.se>
Message-ID: <Pine.SUN.3.91.1010326091608.4400A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 25 Mar 2001, Martin Str|mberg wrote:

> "On Tue, 30 Jan 2001, Martin Str|mberg wrote:
> 
> > -extern char *__file_handle_modes;
> > +extern unsigned short *__file_handle_modes;
> 
> Please don't!  This immediately breaks all existing libraries compiled
> with previous versions of this header.
> 
> Do we really need a short for each handle?  Did we use up all the 8
> bits in the current definition?"

Ah, that one.  Thanks for the reminder.

Well, I see two possibilities.  Either use one of the unused bits in 
__file_handle_mode (we really only use O_TEXT and O_BINARY, even though 
we smack all the lower 8 bits of the open mode into it), or use the new 
fd_properties facility introduced by Mark recently.

- Raw text -


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