| delorie.com/archives/browse.cgi | search |
| From: | Martin Str|mberg <ams AT ludd DOT luth DOT se> |
| Message-Id: | <200103132142.WAA17436@mother.ludd.luth.se> |
| Subject: | Re: zero fill the eof gap (complete patch) |
| To: | djgpp-workers AT delorie DOT com |
| Date: | Tue, 13 Mar 2001 22:42:56 +0100 (MET) |
| In-Reply-To: | <3AAE27DD.8570.57C673@localhost> from "Mark E." at Mar 13, 2001 01:59:57 PM |
| X-Mailer: | ELM [version 2.5 PL2] |
| MIME-Version: | 1.0 |
| 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 |
According to Mark E.:
> Index: include/libc/fd_props.h
> ===================================================================
> RCS file: /cvs/djgpp/djgpp/include/libc/fd_props.h,v
> retrieving revision 1.1
> diff -c -p -r1.1 fd_props.h
> *** fd_props.h 2001/03/07 05:34:26 1.1
> --- fd_props.h 2001/03/13 18:47:06
> *************** extern "C" {
> *** 15,20 ****
> --- 15,24 ----
> /* Delete file when the last descriptor referencing it is closed. */
> #define FILE_DESC_TEMPORARY 0x01
>
> + /* Tell write and _write to test for file offset greater than EOF. If so,
> + they will fill the gap with zeroes. */
> + #define FILE_DESC_FILL_TEST 0x02
Why is it called "FILE_DESC_FILL_TEST" (the TEST part)?
Right,
MartinS
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |