From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Tue, 5 Jun 2001 00:52:48 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: file append problem Message-ID: <3B1C2D60.31887.5DA06F@localhost> In-reply-to: <2593-Mon04Jun2001214907+0300-eliz@is.elta.co.il> References: <200106041203 DOT OAA11068 AT mother DOT ludd DOT luth DOT se> (message from Martin Str|mberg on Mon, 4 Jun 2001 14:03:56 +0200 (MEST)) X-mailer: Pegasus Mail for Win32 (v3.12c) 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 > > Perhaps there's a third. In dup2 make sure the append flags are in sync? They could also be synced before _flsbuf and friends call _write. But I think Eli has the simpler solution (#4?): > the problem is > that we have two flags, where we should have had one. I also wonder if the _remove_on_close member in FILE could be eliminated too since that functionality duplicates the O_TEMPORARY flag. Out, Mark