From: Martin Stromberg Message-Id: <200206021336.PAA14951@lws256.lu.erisoft.se> Subject: Re: open(), fopen() don't check for llseek() failure To: djgpp-workers AT delorie DOT com Date: Sun, 2 Jun 2002 15:36:48 +0200 (MET DST) In-Reply-To: from "Eli Zaretskii" at Jun 02, 2002 03:59:56 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Eli said: > On Sun, 2 Jun 2002, Richard Dawe wrote: > > When open and fopen are called to open & append to a file, they don't check > > that llseek() is successful. I think they should fail, if the seek was > > unsuccessful. Should this be fixed? > > When do we expect llseek to fail? Never, except perhaps for devices. Nevertheless, perhaps we should be prepared if it does fail although it never should? Right, MartinS