From c22bf1992de982d3a48ef24f1be6d9ded41f2ed7 Mon Sep 17 00:00:00 2001 From: paolo Date: Fri, 10 Feb 2006 18:29:04 +0000 Subject: 2006-10-02 Paolo Carlini PR libstdc++/26181 * include/bits/streambuf.tcc (__copy_streambufs_eof): New, like the existing __copy_streambufs but reporting eof in input. (__copy_streambufs): Just use the latter. * src/streambuf.cc (__copy_streambufs_eof): Adjust specializations of __copy_streambufs. * include/bits/istream.tcc (operator>>(__streambuf_type*)): Use __copy_streambufs_eof instead. * include/std/std_streambuf.h: Adjust. * src/streambuf-inst.cc: Adjust. * config/abi/pre/gnu.ver: Export the new symbols. * testsuite/27_io/basic_istream/extractors_other/char/26181.cc: New. * testsuite/27_io/basic_istream/extractors_other/wchar_t/26181.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/char/1.cc: Adjust. * testsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110841 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/config/abi/pre/gnu.ver | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libstdc++-v3/config') diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index 8ea7c64a525..c756290df58 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -1,6 +1,6 @@ ## Linker script for GNU versioning (GNU ld 2.13.91+ only.) ## -## Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +## Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ## ## This file is part of the GNU ISO C++ Library. This library is free ## software; you can redistribute it and/or modify it under the @@ -673,6 +673,8 @@ GLIBCXX_3.4.7 { _ZNSi10_M_extractI[^g]*; _ZNSt13basic_istreamIwSt11char_traitsIwEE10_M_extractI[^g]*; + _ZSt21__copy_streambufs_eofI[cw]St11char_traitsI[cw]EEiPSt15basic_streambuf*; + } GLIBCXX_3.4.6; # Symbols in the support library (libsupc++) have their own tag. -- cgit v1.2.1