delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/23/14:25:55

From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com
Date: Tue, 23 Jan 2001 14:25:52 -0500
MIME-Version: 1.0
Subject: Re: Where does gcc -o foo make foo.exe
Message-ID: <3A6D9470.4200.42F8E2@localhost>
References: <3A605A7C DOT 44 DOT 7AB95C AT localhost> <3A687DD7 DOT 834 DOT 3F21A6 AT localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com

> I solved it in cygwin pretty easily, but it depends on having a flag
> available for each open file descriptor.

I got it working in a standalone program. Now to work on integrating it into 
libc...

I used __file_handle_modes to store the required flag so that was no problem. 
I also have a function to zero fill the space that is to be filled. Where 
should this function go? I'm thinking src/libc/dos/io but a confirmation 
would be good before I start touching files.

Also, the fcntl patch adds lfilelength which my fill function uses. I believe 
that patch is close to being done, correct?

Mark

- Raw text -


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