Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 2182 invoked from network); 11 May 2006 14:24:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 May 2006 14:24:56 -0000 Received: (qmail 56432 invoked by uid 500); 11 May 2006 14:24:56 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 56419 invoked by uid 500); 11 May 2006 14:24:56 -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 56402 invoked by uid 99); 11 May 2006 14:24:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 May 2006 07:24:55 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of AntonP@moscow.vdiweb.com designates 195.210.189.132 as permitted sender) Received: from [195.210.189.132] (HELO mail.moscow.vdiweb.com) (195.210.189.132) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 May 2006 07:24:54 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: svn commit: r405254 - /incubator/stdcxx/trunk/tests/strings/21.string.replace.cpp Date: Thu, 11 May 2006 18:24:30 +0400 Message-ID: <4D6A8407B7AC6F4D95B0E55C4E7C4C62042EC907@exmsk.moscow.vdiweb.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: svn commit: r405254 - /incubator/stdcxx/trunk/tests/strings/21.string.replace.cpp Thread-Index: AcZ0lH19xCH8fq4RTAKPDaj/+i8xgAAccBAQ From: "Anton Pevtsov" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks, the patch fixes the problem.=20 Anton -----Original Message----- From: Martin Sebor [mailto:sebor@roguewave.com]=20 Sent: Thursday, May 11, 2006 04:47 To: stdcxx-dev@incubator.apache.org Subject: Re: svn commit: r405254 - /incubator/stdcxx/trunk/tests/strings/21.string.replace.cpp Anton Pevtsov wrote: > Martin Sebor wrote: [...] > But on Windows I still have problems with the end of a string=20 > (somewhere > in the test driver): it looks like there is no '\0' symbol there, but it=20 > is expected. I think I just spotted something as well, with both MSVC and Intel C++ on Linux/EM64T (but not with gcc 4.1 on Solaris). Try the patch in the attachment to see if it fixes it. The change increases the size of the __nullref on Windows (and apparently also with Intel C++ on Linux where it shouldn't even be compiled, I need to look into why it's needed there). The original size must not have been sufficient for basic_string >. Martin