This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[PATCH] Fix libstdc++/6811
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: libstdc++ at gcc dot gnu dot org
- Cc: carlo at alinoe dot com, bkoz at redhat dot com
- Date: Sun, 26 May 2002 16:13:57 +0200
- Subject: [PATCH] Fix libstdc++/6811
Hi,
the following one-liner fixes the PR. I wanted to cook up a testcase but
Gaby pointed out that it is not very easy to find a portable one and
perhaps we can simply fix the problem, for the time being.
Ok for both? (tested x86-linux, as usual)
Ciao, Paolo.
////////////////
2002-05-26 Carlo Wood <carlo@alinoe.com>
Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/6811
* config/locale/ieee_1003.1-2001/codecvt_specializations.h
(__enc_traits::operator=): add missing return statement.
*** codecvt_specializations.h.orig Sun May 26 15:24:24 2002
--- codecvt_specializations.h Sun May 26 15:18:37 2002
***************
*** 110,115 ****
--- 110,116 ----
_M_out_desc = 0;
_M_ext_bom = __obj._M_ext_bom;
_M_int_bom = __obj._M_int_bom;
+ return *this;
}
~__enc_traits()