Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix invalid parameters in SetFileInformationByHandle (dotnet#95096)
According to MS-FSCC, "a value of -1 indicates to the server that it MUST NOT change this attribute for all subsequent operations" This behavior is incorrect in the scope of .NET, since a call to File.SetLastAccessTime on a open file handle will cause all future writes to not update the last write tim. It also triggers STATUS_INVALID_PARAMETER on NFS, since the Windows driver doesn't seem to implement the -1 value (tracking of subsequent write operations) Fixes dotnet#95096
- Loading branch information