You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Summary: In https://bugs.freebsd.org/207918, Daniel McRobb describes how using std::showbase with ostreams can cause truncation of unsigned long long when output format is octal. In fact, this can even happen with unsigned int and unsigned long. To ensure this does not happen, add one additional character to the do_put buffers if std::showbase is on. Also add a test case. Reviewers: EricWF, mclow.lists Reviewed By: EricWF Subscribers: cfe-commits, emaste Differential Revision: https://reviews.llvm.org/D32670 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@302362 91177308-0d34-0410-b5e6-96231b3b80d8 |
9 years ago | |
|---|---|---|
| .. | ||
| ostream | 11 years ago | |
| ostream.assign | 9 years ago | |
| ostream.cons | 9 years ago | |
| ostream.formatted | 9 years ago | |
| ostream.manip | 9 years ago | |
| ostream.rvalue | 9 years ago | |
| ostream.seeks | 9 years ago | |
| ostream.unformatted | 9 years ago | |
| ostream_sentry | 9 years ago | |