delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/01/16/06:28:51

Date: Sun, 16 Jan 2000 13:18:31 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Str|mberg <ams AT ludd DOT luth DOT se>
cc: djgpp-workers AT delorie DOT com
Subject: Re: _lleek
In-Reply-To: <200001161111.MAA17304@father.ludd.luth.se>
Message-ID: <Pine.SUN.3.91.1000116131542.12891A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 16 Jan 100, Martin Str|mberg wrote:

> > So, if I understand correctly, you are suggesting to implement lseek
> > of -2 as lseek of -3 followed by lseek of +1, is that right?
> 
> Eeeh... I don't understand what that would give us.

I was trying to understand what were you suggesting as the solution.  
Seems like I didn't understand it.  Can you describe your solution
in more details?

> After running this, I'll have a file g:/ggg.grr that is 2^32-3 big!
> 
> Substitute -3 with any big value in [2^31, 2^32-3] and you'll get a
> big file (I've tried a couple different ones).

Does this mean that FAT32 doesn't support negative seeks directly, even 
with SEEK_CUR?

- Raw text -


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