delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/03/16/10:20:36

Date: Fri, 16 Mar 2001 17:20:15 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Mark E." <snowball3 AT bigfoot DOT com>
Message-Id: <7704-Fri16Mar2001172014+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp-workers AT delorie DOT com
In-reply-to: <3AB1DF99.17770.5FD23@localhost> (snowball3@bigfoot.com)
Subject: Re: zero fill the eof gap (complete patch)
References: <3AB0C98F DOT 28988 DOT 49F0A AT localhost> (snowball3 AT bigfoot DOT com) <3AB1DF99 DOT 17770 DOT 5FD23 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

> From: "Mark E." <snowball3 AT bigfoot DOT com>
> Date: Fri, 16 Mar 2001 09:40:41 -0500
> 
> We need a flag from somewhere, so another way would be to define a flag to be 
> used with '__file_handle_modes' and use it in place of the FILE_DESC_ZERO_* 
> flag.

That sounds like more work for you (since the code which uses
__fd_properties[] will have to be rewritten), but I don't see any
advantages in using __file_handle_modes that would justify that.

So I still tend to like better the alternative where the properties
are created in lseek.

- Raw text -


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