Enable FILE_SHARE_DELETE flag on Windows

Jan Lehnardt <>
Fri Feb 26 19:54:35 CET 2010

Dear OTP Team,

the CouchDB team would like to propose the following patch to the
windows file driver:


It adds an additional flag to the CreateFile() syscall to allow multiple descriptors
to the same file to all request a deletion or rename of a file.

For more details, see "dwShareMode" on http://msdn.microsoft.com/en-us/library/aa363858(VS.85).aspx


More information about the erlang-patches mailing list