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

Flush stdout before changing mode back to text #5477

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

jenatali
Copy link
Contributor

The file mode is only actually respected when flushing the internal I/O buffers to the filesystem. By changing the file mode to text before flushing, the flush still ends up converting line endings, producing invalid output.

@CLAassistant
Copy link

CLAassistant commented Nov 14, 2023

CLA assistant check
All committers have signed the CLA.

@s-perron s-perron enabled auto-merge (squash) November 15, 2023 15:47
@s-perron s-perron merged commit fb91e6f into KhronosGroup:main Nov 15, 2023
4 checks passed
sajjadmirzanv pushed a commit to sajjadmirzanv/SPIRV-Tools that referenced this pull request Nov 15, 2023
@jenatali jenatali deleted the win32-flush-stdout branch November 15, 2023 20:43
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.

4 participants