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

Replace Interop.ReadDir.cs with Interop.ReadDir.cs from System.IO.FileSystem #21622

Merged
merged 15 commits into from
Dec 28, 2018

Conversation

EgorBo
Copy link
Member

@EgorBo EgorBo commented Dec 20, 2018

Currently in CoreFX there are two Interop.ReadDir.cs with slightly different implementations
one is for TimeZoneInfo.Unix.cs and another one is for FileSystemEnumerator.Unix.cs
This PR basically removes one of them (the TimeZoneInfo's one)

It helps us in Mono because we can't have them two inside the mscorlib.

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

LGTM modulo last few nits. Thanks!

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Thanks

@EgorBo
Copy link
Member Author

EgorBo commented Dec 28, 2018

@jkotas thanks! learned a lot (as usual) 🙂

@jkotas
Copy link
Member

jkotas commented Dec 28, 2018

@dotnet-bot test OSX10.12 x64 Checked Innerloop Build and Test please
@dotnet-bot test Ubuntu16.04 arm64 Cross Checked Innerloop Build and Test please
@dotnet-bot test Ubuntu16.04 arm64 Cross Checked no_tiered_compilation_innerloop Build and Test please

@jkotas jkotas merged commit d70425c into dotnet:master Dec 28, 2018
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…eSystem (dotnet/coreclr#21622)

* Use Interop.ReadDir.cs from FileSystem (corefx)

* Use ArrayPool

* Remove ReadBufferSize (and static cctor)

* use NameBufferSize for 256 const

* Delete ReadDir and SafeDirectoryHandle.Unix.cs

* Introduce GetDirectoryEntryFullPath, remove uint casts

* Refactor EnumerateFilesRecursively

Commit migrated from dotnet/coreclr@d70425c
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.

2 participants