Skip to content

NSData: fix an errno stomp #1872

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

Merged
merged 1 commit into from
Feb 1, 2019
Merged

NSData: fix an errno stomp #1872

merged 1 commit into from
Feb 1, 2019

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Feb 1, 2019

We would attempt to remove the temporary file. However, that will
result in calls which can destroy the original errno. Save the previous
errno before performing the cleanup.

We would attempt to remove the temporary file.  However, that will
result in calls which can destroy the original errno.  Save the previous
errno before performing the cleanup.
@compnerd
Copy link
Member Author

compnerd commented Feb 1, 2019

@compnerd
Copy link
Member Author

compnerd commented Feb 1, 2019

@swift-ci please test

@compnerd
Copy link
Member Author

compnerd commented Feb 1, 2019

@swift-ci please test macOS platform

@compnerd compnerd merged commit e95ace3 into swiftlang:master Feb 1, 2019
@compnerd compnerd deleted the errors branch February 1, 2019 22:36
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