libstdc++/9182

paolo@gcc.gnu.org paolo@gcc.gnu.org
Sat Mar 8 14:06:00 GMT 2003


The following reply was made to PR libstdc++/9182; it has been noted by GNATS.

From: paolo@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: libstdc++/9182
Date: 8 Mar 2003 14:01:24 -0000

 CVSROOT:	/cvs/gcc
 Module name:	gcc
 Branch: 	gcc-3_3-branch
 Changes by:	paolo@gcc.gnu.org	2003-03-08 14:01:23
 
 Modified files:
 	libstdc++-v3   : ChangeLog 
 	libstdc++-v3/include/bits: fstream.tcc 
 	libstdc++-v3/include/std: std_fstream.h 
 	libstdc++-v3/testsuite/27_io: filebuf_virtuals.cc 
 
 Log message:
 	2003-03-08  Paolo Carlini  <pcarlini@unitus.it>
 	
 	PR libstdc++/9182
 	* include/bits/fstream.tcc (_M_really_overflow): Check
 	for _M_convert_to_external possible failures.
 	* include/std/std_fstream.h (sync): Check _M_really_overflow
 	return value and return -1 in case of failure.
 	* testsuite/27_io/filebuf_virtuals.cc (test12, test13): Add.
 	
 	* include/bits/fstream.tcc (_M_convert_to_external):
 	Set __elen to zero if codecvt::out eventually fails.
 
 Patches:
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1464.2.61&r2=1.1464.2.62
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/fstream.tcc.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.42.2.6&r2=1.42.2.7
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/std/std_fstream.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.14.2.3&r2=1.14.2.4
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/filebuf_virtuals.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.7.14.6&r2=1.7.14.7
 



More information about the Gcc-prs mailing list