Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 67692 invoked from network); 26 Jun 2007 15:20:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2007 15:20:29 -0000 Received: (qmail 71507 invoked by uid 500); 26 Jun 2007 15:20:32 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 71497 invoked by uid 500); 26 Jun 2007 15:20:32 -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 71482 invoked by uid 99); 26 Jun 2007 15:20:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2007 08:20:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of Farid_Zaripov@epam.com designates 217.21.63.3 as permitted sender) Received: from [217.21.63.3] (HELO EPMSA009.epam.com) (217.21.63.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2007 08:20:28 -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: r550545 - in /incubator/stdcxx/trunk/tests/localization: 22.locale.ctype.is.cpp 22.locale.ctype.narrow.cpp 22.locale.ctype.scan.cpp 22.locale.ctype.tolower.cpp 22.locale.ctype.toupper.cpp Date: Tue, 26 Jun 2007 18:20:06 +0300 Message-ID: <7BDB2168BEAEF14C98F1901FD2DE64389D6DD3@epmsa009.minsk.epam.com> In-Reply-To: <46800B88.7090109@roguewave.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: svn commit: r550545 - in /incubator/stdcxx/trunk/tests/localization: 22.locale.ctype.is.cpp 22.locale.ctype.narrow.cpp 22.locale.ctype.scan.cpp 22.locale.ctype.tolower.cpp 22.locale.ctype.toupper.cpp Thread-Index: Ace3V8dbaM5DhC2+T3eprnnr+4GkTAArQSlg References: <20070625165011.F03841A981D@eris.apache.org> <46800B88.7090109@roguewave.com> From: "Farid Zaripov" To: X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Martin Sebor [mailto:sebor@roguewave.com]=20 > Sent: Monday, June 25, 2007 9:38 PM > To: stdcxx-dev@incubator.apache.org > Subject: Re: svn commit: r550545 - in=20 > /incubator/stdcxx/trunk/tests/localization:=20 > 22.locale.ctype.is.cpp 22.locale.ctype.narrow.cpp=20 > 22.locale.ctype.scan.cpp 22.locale.ctype.tolower.cpp=20 > 22.locale.ctype.toupper.cpp >=20 > faridz@apache.org wrote: > > Author: faridz > > Date: Mon Jun 25 09:50:10 2007 > > New Revision: 550545 >=20 > Thanks for taking care of this! IIRC, you made a similar=20 > change before, suggesting the rw_locales() API is=20 > error-prone. I wonder if we should change it so as to return=20 > "" instead of 0 on error. >=20 > Incidentally, why does it fail in your environment? When I run the test only, the locale.exe utility not in the path and then the rw_locales() returns NULL. And later when the test iterating through the list I got access violation. I aggree to change rw_locales() to return something but not NULL. Perhaps rw_locales() should return "C"? I assume that "C" locale is always available, isn't it? Farid.