Re: [PATCH] mmap implementation for mingw.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Fri, 21 Nov 2008, Bryan Donlan wrote:

> I'm not overly familiar with the windows API, but wouldn't passing 
> FILE_SHARE_DELETE | FILE_SHARE_READ in the dwShareMode argument of 
> CreateFile() be enough to allow rename/deletion of the file in question 
> while it is mapped?

A very quick Google research already revealed that your suggestion has any 
meaning _only_ for NTFS.

So that leaves FAT behind.

I could also imagine that Windows 2K does not even bother heeding those 
flags (it speaks volumes about Microsoft's documentation that you cannot 
find out if that is the case spending less than 15 minutes, and possibly 
more than that).

So I think your objection is irrelevant, sorry,
Dscho

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux