www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/23/01:36:22

Date: Tue, 23 Aug 94 00:07:30 EDT
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: dnelson AT quake DOT xnet DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: djgpp 1.12 libc.a fseek
Reply-To: babcock AT cfa DOT harvard DOT edu

> Let me confirm this.  I haven't looked at the source, but the error seems to
> be in the SEEK_CUR portion; if I replace occurances of fseek(fp, off,
> SEEK_CUR) with fseek(fp, off+ftell(fp), SEEK_SET) my programs work.

I just looked a little closer at the fseek.c source.  I don't completely
understand it, but it appears that the variable resync may be used when
undefined. 

- Raw text -


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