aboutsummaryrefslogtreecommitdiffstats
path: root/include/fstream
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-01-19 10:05:35 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-01-19 10:05:35 +0000
commit6012fe9abb1f01b1b5b4ca908464804c21ff8602 (patch)
treea5232179237d9aaa3a03f9c783974fc5f09716c6 /include/fstream
parent315d10f09ee888005b1da55e7bbb57d8a79b8447 (diff)
downloadsrc-6012fe9abb1f01b1b5b4ca908464804c21ff8602.tar.gz
src-6012fe9abb1f01b1b5b4ca908464804c21ff8602.zip
Vendor import of libc++ trunk r351319 (just before the release_80vendor/libc++/libc++-trunk-r351319
Notes
Notes: svn path=/vendor/libc++/dist/; revision=343177 svn path=/vendor/libc++/libc++-trunk-r351319/; revision=343178; tag=vendor/libc++/libc++-trunk-r351319
Diffstat (limited to 'include/fstream')
-rw-r--r--include/fstream1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fstream b/include/fstream
index 332b4747c1af..711e484e2dcf 100644
--- a/include/fstream
+++ b/include/fstream
@@ -702,6 +702,7 @@ basic_filebuf<_CharT, _Traits>::close()
__file_ = 0;
else
__rt = 0;
+ setbuf(0, 0);
}
return __rt;
}