[all-commits] [llvm/llvm-project] 0e68b4: [libc++] Implements filebuf unbuffered.
Mark de Wever via All-commits
all-commits at lists.llvm.org
Sun Mar 3 05:42:54 PST 2024
Branch: refs/heads/users/mordante/implements_filebuf_unbuffered
Home: https://github.com/llvm/llvm-project
Commit: 0e68b4202a2e4395ceca39e1f861ddc4ca4f9ce4
https://github.com/llvm/llvm-project/commit/0e68b4202a2e4395ceca39e1f861ddc4ca4f9ce4
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-03 (Sun, 03 Mar 2024)
Changed paths:
M libcxx/include/fstream
A libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/setbuf.pass.cpp
Log Message:
-----------
[libc++] Implements filebuf unbuffered.
When calling setbuf(nullptr, 0) before performing file operations it
should set the file to unbuffered mode. Currently the code avoids
buffering internally, but the underlying stream still can buffer.
This is addressed by disabling the buffering of the underlying stream.
Fixes: https://github.com/llvm/llvm-project/issues/60509
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