| www.delorie.com/archives/browse.cgi | search |
| From: | "Mark E." <snowball3 AT bigfoot DOT com> |
| To: | djgpp-workers AT delorie DOT com |
| Date: | Fri, 16 Mar 2001 09:40:41 -0500 |
| MIME-Version: | 1.0 |
| Subject: | Re: zero fill the eof gap (complete patch) |
| Message-ID: | <3AB1DF99.17770.5FD23@localhost> |
| In-reply-to: | <1659-Fri16Mar2001125621+0200-eliz@is.elta.co.il> |
| References: | <3AB0C98F DOT 28988 DOT 49F0A AT localhost> (snowball3 AT bigfoot DOT com) |
| X-mailer: | Pegasus Mail for Win32 (v3.12c) |
| 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 |
> > 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? 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. Mark
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |