Date: Thu, 15 Mar 2001 10:38:48 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "Mark E." cc: djgpp-workers AT delorie DOT com Subject: Re: zero fill the eof gap (complete patch) In-Reply-To: <3AAF65F2.23962.46053A@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk On Wed, 14 Mar 2001, Mark E. wrote: > > Seems to suggest that __fd_properties will have to be set for a handle > > before it can use the gap filling feature. But where is the code > > which sets up __fd_properties for any given handle? > > The routine is called by open(). Ah, sorry, I forgot that. However, that means file handles inherited from the parent process, including redirected standard handles, will not be zero-filled. Perhaps we should handle those as well, somehow.