Mail Archives: djgpp-workers/2001/02/16/00:59:27
> 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
- Raw text -