Date: Sun, 25 Mar 2001 16:13:49 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Str|mberg cc: DJGPP-WORKERS Subject: Re: Bug 323 In-Reply-To: <200103251230.OAA12137@mother.ludd.luth.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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?