Date: Fri, 16 Mar 2001 12:56:21 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Mark E." Message-Id: <1659-Fri16Mar2001125621+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: <3AB0C98F.28988.49F0A@localhost> (snowball3@bigfoot.com) Subject: Re: zero fill the eof gap (complete patch) References: <3AAF65F2 DOT 23962 DOT 46053A AT localhost> <3AB0C98F DOT 28988 DOT 49F0A 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 Precedence: bulk > From: "Mark E." > Date: Thu, 15 Mar 2001 13:54:23 -0500 > > There are two solutions I can think of. One is to add the > call '__set_fd_properties(fd, 0, 0)' to [l]lseek.c to create the structure. > Another is to instead use a flag with '__file_handle_modes'. I like the first alternative better, but I'm not sure I understand fully how did you envision the second possibility. Could you please elaborate on it?