From stdcxx-dev-return-256-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Thu Oct 13 22:56:05 2005 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 19665 invoked from network); 13 Oct 2005 22:56:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Oct 2005 22:56:04 -0000 Received: (qmail 87140 invoked by uid 500); 13 Oct 2005 22:56:04 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 87102 invoked by uid 500); 13 Oct 2005 22:56:04 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 87091 invoked by uid 99); 13 Oct 2005 22:56:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2005 15:56:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [12.17.213.84] (HELO bco-exchange.bco.roguewave.com) (12.17.213.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2005 15:56:06 -0700 Received: from [10.70.3.113] (10.70.3.113 [10.70.3.113]) by bco-exchange.bco.roguewave.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id S0A36RJ3; Thu, 13 Oct 2005 16:53:05 -0600 Message-ID: <434EE67F.2090006@roguewave.com> Date: Thu, 13 Oct 2005 16:58:07 -0600 From: Martin Sebor User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: Issue with include/string.cc References: <4FA4B7B3231C5D459E7BAD020213A942030A3343@bco-exchange.bco.roguewave.com> In-Reply-To: <4FA4B7B3231C5D459E7BAD020213A942030A3343@bco-exchange.bco.roguewave.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Kostas Pagratis wrote: > This issue is on an IRIX 6.5 using mipsPro 7.41 > > Does anyone have any idea why this is happening? > > > > There is a wchar_t w_abcdef = "abcdef" > > > > When replace() on line 336 in include/string.cc is invoked by an = > operator > > (test/tools/tooltest/wstrtest.cpp line 256) > > str2 = w_abcdef > > > > the resulting string is: aaaaaa. > > > > Only the first char is copied over. Do you think stdcxx-48 might be related to the problem? http://issues.apache.org/jira/browse/STDCXX-48 (I don't see any calls to wmemcpy in the library.) Martin