Closed GoogleCodeExporter closed 9 years ago
The problem lies on Line #92 of the file Proxy.cs
Since Dokan sets DOKAN_FILE_INFO.DeleteOnClose to 16 value of
DOKAN_DELETE_ON_CLOSE.
(See ---> DOKAN/sys/public.h on line #77)
The line should read something like:
fileinfo.DeleteOnClose = info.DeleteOnClose >= 1
The whole block should be as follows:
private DokanFileInfo GetFileInfo(ref DOKAN_FILE_INFO info)
{
DokanFileInfo fileinfo = null;
lock (infoTableLock_)
{
if (info.Context != 0)
{
infoTable_.TryGetValue(info.Context, out fileinfo);
}
if (fileinfo == null)
{
// bug?
fileinfo = new DokanFileInfo();
}
fileinfo.IsDirectory = info.IsDirectory == 1;
fileinfo.ProcessId = info.ProcessId;
fileinfo.DeleteOnClose = info.DeleteOnClose >= 1; // Change is here
}
return fileinfo;
}
Original comment by nzeyiman...@gmail.com
on 30 Oct 2009 at 11:00
Attachments:
Original comment by asa...@gmail.com
on 25 Feb 2010 at 9:05
Original issue reported on code.google.com by
kinh...@gmail.com
on 20 Sep 2009 at 11:34