From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Fri, 16 Feb 2001 00:58:40 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: O_TEMPORARY Message-ID: <3A8C7B40.5144.6753FD@localhost> References: <3A8A98EE DOT 30071 DOT A8D978 AT localhost> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp-workers AT delorie DOT com > Another aspect that I think needs to be considered is the situation > where the same file is opened once with O_TEMPORARY, and then again > without O_TEMPORARY. Do we want the file to be removed when the first > (temporary) handle is closed? (This is one reason why I asked above > about the docs of this feature on other platforms.) I think I can now answer this question. While downloading the packages needed for mingw, I accessed the online MSDN. It's tempting to cut-n-paste the documentation for FILE_FLAG_DELETE_ON_CLOSE, but no telling what terms and conditions have been placed on reproducing portions of it. But in essence it says that a file opened with the flag is to be deleted after all handles are closed, including handles opened without the flag. Mark