Mail Archives: djgpp-workers/2001/03/26/02:21:07
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 -