dll: fuse: fixes

This commit is contained in:
Bill Zissimopoulos 2016-06-02 23:35:11 -07:00
parent 4e2aaa8a21
commit f0751f1fb3
2 changed files with 2 additions and 2 deletions

View File

@ -225,7 +225,7 @@ static NTSTATUS fsp_fuse_preflight(struct fuse *f)
) && ) &&
L':' == f->MountPoint[1] || L'\0' == f->MountPoint[2]) L':' == f->MountPoint[1] || L'\0' == f->MountPoint[2])
{ {
if (GetLogicalDrives() & (1 << (f->MountPoint[0] - 'A'))) if (GetLogicalDrives() & (1 << ((f->MountPoint[0] & ~0x20) - 'a')))
return STATUS_OBJECT_NAME_COLLISION; return STATUS_OBJECT_NAME_COLLISION;
} }
else else

View File

@ -4,7 +4,7 @@ implib=${prefix}/bin/winfsp-${arch}.dll
Name: fuse Name: fuse
Description: WinFsp FUSE compatible API Description: WinFsp FUSE compatible API
Version: 2.9 Version: 2.8
URL: http://www.secfs.net/winfsp/ URL: http://www.secfs.net/winfsp/
Libs: "${implib}" Libs: "${implib}"
Cflags: -I"${incdir}" Cflags: -I"${incdir}"