stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kostas Pagratis <pagra...@roguewave.com>
Subject Issue with include/string.cc
Date Thu, 13 Oct 2005 17:21:15 GMT
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.

 

Kostas Pagratis
Consulting Engineer
Rogue Wave Software

a Quovadx(TM) Division
(w) 303-545-3268
(c) 303-817-1605

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message