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

Revert fstream.seekp(0, ios::cur) change #3841

Merged
merged 2 commits into from
Jun 30, 2023

Conversation

StephanTLavavej
Copy link
Member

Fixes #3840 by reverting #3773. We'll need to reactivate #3572.

The revert had a trivial merge conflict in tests/std/test.lst.

I'm adding test coverage for the #3840 scenario, and I've verified that it fails before the revert. The affected product code is C++14, but I've chosen to make the test C++17 so I can call filesystem::remove() on the temporary file for cleanliness. There's no real loss of test coverage here.

@StephanTLavavej StephanTLavavej added bug Something isn't working high priority Important! labels Jun 29, 2023
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner June 29, 2023 23:34
@StephanTLavavej StephanTLavavej merged commit 2261f7e into microsoft:main Jun 30, 2023
37 checks passed
@StephanTLavavej StephanTLavavej deleted the emergency-revert branch June 30, 2023 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority Important!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<fstream>: Calling tellg() when reading an LF file in text mode causes getline() to loop forever
2 participants