Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

Re: [PATCH] mmap implementation for mingw.

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:45:41

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help