mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
tst: memfs-dotnet: testing EA support
This commit is contained in:
parent
ff94a63c37
commit
37bcfc888a
@ -295,12 +295,12 @@ namespace Fsp.Interop
|
|||||||
|
|
||||||
fixed (Byte *P = EaName)
|
fixed (Byte *P = EaName)
|
||||||
{
|
{
|
||||||
int I = 0;
|
int I = 0, J = 0;
|
||||||
for (; NameLength > I; I++)
|
for (; NameLength > I; I++)
|
||||||
P[I] = (Byte)Name[I];
|
P[I] = (Byte)Name[I];
|
||||||
P[I] = 0;
|
P[I++] = 0;
|
||||||
for (; ValueLength > I; I++)
|
for (; ValueLength > J; J++)
|
||||||
P[I] = Value[I];
|
P[I + J] = Value[J];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -273,6 +273,7 @@ namespace memfs
|
|||||||
Host.NamedStreams = true;
|
Host.NamedStreams = true;
|
||||||
Host.PostCleanupWhenModifiedOnly = true;
|
Host.PostCleanupWhenModifiedOnly = true;
|
||||||
Host.PassQueryDirectoryFileName = true;
|
Host.PassQueryDirectoryFileName = true;
|
||||||
|
Host.ExtendedAttributes = true;
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user