summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/bits/ostream.tcc
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-04 02:06:59 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-04 02:06:59 +0000
commit411954163a1ba053c10ccef05e34e7b09b7a7297 (patch)
treeea00638ac2ab82329d578498bd566193df6fe23e /libstdc++-v3/include/bits/ostream.tcc
parente4fcf2e75038b498a08545c50501e9b09992f9f1 (diff)
downloadppe42-gcc-411954163a1ba053c10ccef05e34e7b09b7a7297.tar.gz
ppe42-gcc-411954163a1ba053c10ccef05e34e7b09b7a7297.zip
2003-11-03 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (time_get::_M_extract_name): Add ctype argument. * include/bits/locale_facets.tcc: Same, use it to allow capitalized names. * include/bits/fstream.tcc: Spacing tweak. * include/bits/istream.tcc: Same. * include/bits/ostream.tcc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73241 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/ostream.tcc')
-rw-r--r--libstdc++-v3/include/bits/ostream.tcc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/ostream.tcc b/libstdc++-v3/include/bits/ostream.tcc
index df63364522b..c126eb8df25 100644
--- a/libstdc++-v3/include/bits/ostream.tcc
+++ b/libstdc++-v3/include/bits/ostream.tcc
@@ -673,8 +673,7 @@ namespace std
// 25. String operator<< uses width() value wrong
if (__w > __len)
{
- _CharT* __cs = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT)
- * __w));
+ _CharT* __cs = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __w));
__pad<_CharT, _Traits>::_S_pad(__out, __out.fill(), __cs, __s,
__w, __len, false);
__s = __cs;
OpenPOWER on IntegriCloud