mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
tst: memfs: add -D option to specify debug log file
This commit is contained in:
parent
e13233ef32
commit
612c820630
@ -113,6 +113,8 @@ NTSTATUS SvcStart(FSP_SERVICE *Service, ULONG argc, PWSTR *argv)
|
|||||||
fail(L"cannot open debug log file");
|
fail(L"cannot open debug log file");
|
||||||
goto usage;
|
goto usage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FspDebugLogSetHandle(DebugLogHandle);
|
||||||
}
|
}
|
||||||
|
|
||||||
Result = MemfsCreate(Flags, FileInfoTimeout, MaxFileNodes, MaxFileSize, VolumePrefix, RootSddl,
|
Result = MemfsCreate(Flags, FileInfoTimeout, MaxFileNodes, MaxFileSize, VolumePrefix, RootSddl,
|
||||||
@ -123,8 +125,6 @@ NTSTATUS SvcStart(FSP_SERVICE *Service, ULONG argc, PWSTR *argv)
|
|||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (INVALID_HANDLE_VALUE != DebugLogHandle)
|
|
||||||
FspDebugLogSetHandle(DebugLogHandle);
|
|
||||||
FspFileSystemSetDebugLog(MemfsFileSystem(Memfs), DebugFlags);
|
FspFileSystemSetDebugLog(MemfsFileSystem(Memfs), DebugFlags);
|
||||||
|
|
||||||
if (0 != MountPoint && L'\0' != MountPoint[0])
|
if (0 != MountPoint && L'\0' != MountPoint[0])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user