[all-commits] [llvm/llvm-project] 455ef3: [libc++] Fix ungetc failing after xsgetn (#210951)
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Tue Jul 28 07:27:32 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 455ef3684fae3273b3423bb0229e33584745c6cc
https://github.com/llvm/llvm-project/commit/455ef3684fae3273b3423bb0229e33584745c6cc
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2026-07-28 (Tue, 28 Jul 2026)
Changed paths:
M libcxx/include/fstream
M libcxx/src/ios.instantiations.cpp
A libcxx/test/extensions/libcxx/input.output/file.streams/fstreams/filebuf.members/test.dat
A libcxx/test/extensions/libcxx/input.output/file.streams/fstreams/filebuf.members/xsgetn.buffer.pass.cpp
M libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/xsgetn.pass.cpp
Log Message:
-----------
[libc++] Fix ungetc failing after xsgetn (#210951)
After #206453 we don't correctly handle `unget()` anymore. This fixes
the issue by updating the internal buffer to contain the tail of the
read data.
Fixes #210203
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list