delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/03/13/00:26:39

Date: Tue, 13 Mar 2001 00:25:15 -0500
Message-Id: <200103130525.AAA30111@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <3AAAC551.12083.441287@localhost> (snowball3@bigfoot.com)
Subject: Re: zero fill EOF gap patch
References: <3AAAC551 DOT 12083 DOT 441287 AT localhost>
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

> This is my first draft of a patch that zero fills the space between EOF and 
> the current file pointer when the current file pointer > EOF. I left out the 
> patch for llseek since it's just like the one for lseek.

Looks OK to me.  I had to read the lseek logic a couple of times
before I realized SEEK_CURR was the missing one, but I'm OK now ;-)

- Raw text -


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