[darcs-users] Using Darcs for large projects
David Roundy
droundy at abridgegame.org
Sun Jun 20 20:35:07 UTC 2004
On Sun, Jun 20, 2004 at 02:14:43PM +0200, Matteo Vaccari wrote:
> >The problem is that opened or mapped files cannot be removed, and since
> >it is the finalizer for FastPackedString that unmaps, we don't know when
> >it is possible to delete the file.
>
> I don't know if it might be useful, but it is possible in Win32 to create a
> file with the FILE_FLAG_DELETE_ON_CLOSE option. It does pretty much what
> the name says.
Can an existing file be modified to have this attribute? i.e. could I take
a file which may (or may not) be mmapped, and tell windows to delete it
when the mmap is closed?
--
David Roundy
http://www.abridgegame.org
More information about the darcs-users
mailing list