mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 00:43:00 -05:00
dll: fuse: testing
This commit is contained in:
parent
6347803392
commit
3310a4300e
@ -1334,6 +1334,7 @@ static NTSTATUS fsp_fuse_intf_ReadDirectory(FSP_FILE_SYSTEM *FileSystem,
|
|||||||
if (0 == filedesc->DirBuffer)
|
if (0 == filedesc->DirBuffer)
|
||||||
{
|
{
|
||||||
memset(&dh, 0, sizeof dh);
|
memset(&dh, 0, sizeof dh);
|
||||||
|
dh.FileSystem = FileSystem;
|
||||||
|
|
||||||
Size = lstrlenA(filedesc->PosixPath);
|
Size = lstrlenA(filedesc->PosixPath);
|
||||||
dh.PosixPath = MemAlloc(Size + 1 + 255 + 1);
|
dh.PosixPath = MemAlloc(Size + 1 + 255 + 1);
|
||||||
@ -1347,6 +1348,7 @@ static NTSTATUS fsp_fuse_intf_ReadDirectory(FSP_FILE_SYSTEM *FileSystem,
|
|||||||
if (1 < Size)
|
if (1 < Size)
|
||||||
/* if not root */
|
/* if not root */
|
||||||
dh.PosixPath[Size++] = '/';
|
dh.PosixPath[Size++] = '/';
|
||||||
|
dh.PosixPath[Size] = '\0';
|
||||||
dh.PosixName = dh.PosixPath + Size;
|
dh.PosixName = dh.PosixPath + Size;
|
||||||
|
|
||||||
dh.OriginalBuffer = Buffer;
|
dh.OriginalBuffer = Buffer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user