Skip to content
Snippets Groups Projects
Commit f4bb6abe authored by Arek Hiler's avatar Arek Hiler Committed by Alexandre Julliard
Browse files

msvcirt: Correct the behavior of filebuf::setbuf().


While implementing ifstream::setbuf() it turned out that filebuf::setbuf(),
behaves a bit different on Windows than our implementation.

It seems to reimplement streambuf::setbuf() with a very minor difference - it
doesn't ever set unbuffered to 0 and allows to change the underlying buffer as
long as the file is not opened.

Signed-off-by: default avatarArkadiusz Hiler <ahiler@codeweavers.com>
Signed-off-by: default avatarPiotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 314368e6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment