From 04055200edcb139e4be7088107191b7a1a9089fa Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 7 May 2007 18:44:54 -0400 Subject: [PATCH] * include/bits/ostream.tcc (operator<<(char*)): Add __s. From-SVN: r124522 --- libstdc++-v3/ChangeLog | 2 ++ libstdc++-v3/include/bits/ostream.tcc | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 859bf846800..618da3cc867 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,7 @@ 2007-05-07 Jason Merrill + * include/bits/ostream.tcc (operator<<(char*)): Add __s. + * config/abi/pre/gnu.ver: Fix symbol versions. * config/abi/pre/gnu-versioned-namespace.ver: Likewise. diff --git a/libstdc++-v3/include/bits/ostream.tcc b/libstdc++-v3/include/bits/ostream.tcc index 4691c64827a..c8bb8f65a7c 100644 --- a/libstdc++-v3/include/bits/ostream.tcc +++ b/libstdc++-v3/include/bits/ostream.tcc @@ -336,10 +336,10 @@ _GLIBCXX_BEGIN_NAMESPACE(std) { struct __ptr_guard { - _CharT *p; - __ptr_guard (_CharT *ip): p(ip) { } - ~__ptr_guard() { delete[] p; } - _CharT* __get() { return p; } + _CharT *__p; + __ptr_guard (_CharT *__ip): __p(__ip) { } + ~__ptr_guard() { delete[] __p; } + _CharT* __get() { return __p; } } __pg (new _CharT[__clen]); _CharT *__ws = __pg.__get(); -- 2.30.2