delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/10/15/07:54:50

From: Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se>
Message-Id: <200010151152.NAA14910@lws256.lu.erisoft.se>
Subject: Re: Bug 000323 (LONG)
To: djgpp-workers AT delorie DOT com
Date: Sun, 15 Oct 2000 13:52:39 +0200 (MET DST)
In-Reply-To: <7263-Sat14Oct2000203750+0300-eliz@is.elta.co.il> from "Eli Zaretskii" at Oct 14, 2000 08:37:50 PM
X-Mailer: ELM [version 2.5 PL3]
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

Eli said:
> I have some comments on the implementation:
> 
>   - You seek to end of the file when it is open in the append mode.  I
>     wonder whether this is what other implementations do.  My
>     references don't seem to imply that opening the file already seeks
>     to the end; they only say that before each write the file position
>     is set to the end.

I do? What I did was remove the seeks when the open is done (as you I
didn't find any references that said that the file pointer should be
put at the end of the file at open() time).


Right,

						MartinS

- Raw text -


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