Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] FileManager.enumerator(at:) default error handler should continue rather than exiting #5136

Conversation

jmschonfeld
Copy link
Contributor

On Darwin + Linux, the default error handler for FileManager.enumerator(at:) continues on error (and this is the documented behavior as well) however on Windows the default error handler stops enumeration at an error. This updates the Windows behavior to match the Darwin + Linux behavior.

@jmschonfeld
Copy link
Contributor Author

@swift-ci test

@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

@jmschonfeld jmschonfeld merged commit 731f3ae into swiftlang:main Nov 20, 2024
2 checks passed
@jmschonfeld jmschonfeld deleted the windows/fm-enumerator-default-error-handler branch November 20, 2024 19:46
jmschonfeld added a commit to jmschonfeld/swift-corelibs-foundation that referenced this pull request Nov 20, 2024
jmschonfeld added a commit that referenced this pull request Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants