Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Add Dev/Ino fields to Interop.Sys.FileStatus#11070

Merged
stephentoub merged 1 commit intodotnet:masterfrom
stephentoub:add_stat_fields
Apr 19, 2017
Merged

Add Dev/Ino fields to Interop.Sys.FileStatus#11070
stephentoub merged 1 commit intodotnet:masterfrom
stephentoub:add_stat_fields

Conversation

@stephentoub
Copy link
Member

To fix https://github.com/dotnet/corefx/issues/18521, I need to modify SystemNative_Stat and friends to pass back in the FileStatus struct the st_dev/st_ino values. But before I can do that in corefx, coreclr's version of FileStatus needs to be increased in size to contain the two additional fields; otherwise, attempting to change System.Native.so/dylib to write to those fields in corefx will stomp over memory when used by coreclr.

Contributes to https://github.com/dotnet/corefx/issues/18521
cc: @janvorli, @JeremyKuhne

@stephentoub stephentoub merged commit 986b721 into dotnet:master Apr 19, 2017
@stephentoub stephentoub deleted the add_stat_fields branch April 19, 2017 17:44
dotnet-bot pushed a commit to dotnet/corert that referenced this pull request Apr 19, 2017
Add Dev/Ino fields to Interop.Sys.FileStatus

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Copy link
Member

@JeremyKuhne JeremyKuhne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

jkotas pushed a commit to dotnet/corert that referenced this pull request Apr 19, 2017
Add Dev/Ino fields to Interop.Sys.FileStatus

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
@karelz karelz modified the milestone: 2.0.0 Aug 28, 2017
dotnet-bot pushed a commit to dotnet/corefx that referenced this pull request Jan 13, 2018
Add Dev/Ino fields to Interop.Sys.FileStatus

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
dotnet-bot pushed a commit to dotnet/corefx that referenced this pull request Jan 13, 2018
Add Dev/Ino fields to Interop.Sys.FileStatus

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
safern pushed a commit to dotnet/corefx that referenced this pull request Jan 16, 2018
Add Dev/Ino fields to Interop.Sys.FileStatus

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
safern pushed a commit to dotnet/corefx that referenced this pull request Jan 16, 2018
Add Dev/Ino fields to Interop.Sys.FileStatus

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File.Move throws IOException on macOS when rename differs only by case

5 participants