gcc/libstdc++-v3/include
Paolo Carlini 1139a7354d re PR libstdc++/47921 (pbump will overflow when input n is larger than 2G-1)
2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/47921
	* include/std/streambuf (basic_streambuf<>::__safe_gbump,
	__safe_pbump): Add.
	* include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
	xputn): Use the latter.
	* include/bits/streambuf_iterator.h: Likewise.
	* src/strstream.cc: Likewise.
	* src/streambuf.cc: Likewise.
	* src/compatibility.cc: Likewise.
	* src/istream.cc: Likewise.
	* include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
	instead of gbump.
	* include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
	* include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
	seekpos, _M_sync): Use setg, setp, and _M_pbump.
	* config/abi/pre/gnu.ver: Tweak.

From-SVN: r170579
2011-02-28 23:50:57 +00:00
..
backward run_doxygen: Allow doxygen 1.7.0 again. 2011-02-01 01:31:42 +00:00
bits re PR libstdc++/47921 (pbump will overflow when input n is larger than 2G-1) 2011-02-28 23:50:57 +00:00
c PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
c_compatibility PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
c_global PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
c_std PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
debug string (basic_string::insert): Add iterator check and pass normal iterator to normal insert. 2011-02-19 20:51:43 +00:00
decimal PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
ext re PR libstdc++/47773 (Versatile string lacks a default hash function) 2011-02-17 01:24:37 +00:00
parallel re PR libstdc++/47433 (libstdc++ parallel mode calls std::swap explicitely) 2011-02-11 10:11:41 +00:00
precompiled typeindex: New. 2010-09-22 12:04:08 +00:00
profile re PR libstdc++/47668 (missing 'typename' in debug-mode map) 2011-02-10 00:08:42 +00:00
std re PR libstdc++/47921 (pbump will overflow when input n is larger than 2G-1) 2011-02-28 23:50:57 +00:00
tr1 [multiple changes] 2011-02-12 18:30:50 +00:00
Makefile.am re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
Makefile.in re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00