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

FileHandle: improve the compatibility of synchronize #3045

Merged
merged 1 commit into from
Aug 14, 2021

Conversation

compnerd
Copy link
Member

TestFileHandle/test_synchronizeOnSpecialFile introduced a failure in the
Windows test suite. The underlying problem here is that
FlushFileBuffers is not permitted on unbuffered file handles (such as
consoles). Ensure that we do not treat errors on character devices as
flush errors.

TestFileHandle/test_synchronizeOnSpecialFile introduced a failure in the
Windows test suite.  The underlying problem here is that
`FlushFileBuffers` is not permitted on unbuffered file handles (such as
consoles).  Ensure that we do not treat errors on character devices as
flush errors.
@millenomi
Copy link
Contributor

@swift-ci test and merge

@swift-ci swift-ci merged commit 01efe01 into swiftlang:main Aug 14, 2021
@compnerd compnerd deleted the sync-sync branch August 14, 2021 02:54
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.

3 participants