Mail Archives: djgpp-workers/2001/03/25/09:51:50
According to Eli Zaretskii:
>
>
> On Sun, 25 Mar 2001, Martin Str|mberg wrote:
>
> > +#define O_APPEND 0x0010
>
> Not good, 0x0010 is already taken by SH_DENYRW.
>
> In general, all of the bits of the lowest byte in the open mode variable
> passed to open and _open are used by DOS (we do special trickery to reset
> the O_BINARY and O_TEXT bits, because DOS doesn't know anything about
> them).
>
> I admit I don't remember what was wrong with the previous solution you
> suggested, so I cannot suggest alternatives. Could you remind what were
> we talking about last time?
<http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-workers/2001/01/31/03:31:45>
says:
"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?"
Suggestions?
Right,
MartinS
- Raw text -