delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/10/24/05:02:37

Date: Sun, 24 Oct 1999 09:35:45 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Richard Dawe <richdawe AT bigfoot DOT com>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Bug in fsetpos()?
In-Reply-To: <3810AB47.B2D9CFCE@tudor21.net>
Message-ID: <Pine.SUN.3.91.991024093453.29385O@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 22 Oct 1999, Richard Dawe wrote:

> Alain Magloire wrote:
> > However all implemetations have seen just call fseek()
> > 
> > int fsetpos(FILE *stream, const fpos_t *pos) {
> >         return fseek(stream, *pos, SEEK_SET);
> > }
> > and let errno propagates up,
> 
> That's exactly my point. fsetpos() was calling fseek() and then ignoring
> its return code!

I think this *is* a bug.  DJ, do I understand that you have reservations 
about correcting this?

- Raw text -


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