www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/01/13/04:45:35

Date: Wed, 13 Jan 1999 10:38:50 +0100
From: Laszlo Molnar <laszlo DOT molnar AT eth DOT ericsson DOT se>
To: djgpp-workers AT delorie DOT com
Subject: Re: djgpp 2.02 + perl + glob
Message-ID: <19990113103850.A1869@duna41>
References: <19990112094755 DOT O29345 AT duna54> <Pine DOT SUN DOT 3 DOT 91 DOT 990112112109 DOT 15876Y-100000 AT is> <19990112174934 DOT W29345 AT duna54> <199901122305 DOT SAA15583 AT envy DOT delorie DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 0.94.17i
In-Reply-To: <199901122305.SAA15583@envy.delorie.com>; from DJ Delorie on Tue, Jan 12, 1999 at 06:05:45PM -0500
Reply-To: djgpp-workers AT delorie DOT com

> > The file pointer on the handle is updated of course.
> What do you mean "of course" ?  There is nothing in the FSEXT code
> that changes the file pointer.  Are you doing this yourself?  If so,

Yes, I use tell() before reading and lseek() after it. 

> you shouldn't.  You'll need to keep track of the pointer separately,
> as part of your buffer.

Ok, I understand now. However I liked the 2.01 version better, because
in that version the fsext handle worked just like a real file handle,
it took care about the file position. Sigh.

Laszlo

- Raw text -


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