Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 45504 invoked from network); 7 May 2008 02:04:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 May 2008 02:04:40 -0000 Received: (qmail 62284 invoked by uid 500); 7 May 2008 02:04:42 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 62263 invoked by uid 500); 7 May 2008 02:04:42 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 62250 invoked by uid 99); 7 May 2008 02:04:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 May 2008 19:04:42 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.roguewave.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 May 2008 02:03:57 +0000 Received: from exchmail01.Blue.Roguewave.Com (exchmail01.blue.roguewave.com [10.22.129.22]) by moroha.roguewave.com (8.13.6/8.13.6) with ESMTP id m4724Aiq024459 for ; Wed, 7 May 2008 02:04:10 GMT 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: r647262 - /stdcxx/trunk/tests/localization/22.locale.num.get.cpp Date: Tue, 6 May 2008 20:03:29 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: svn commit: r647262 - /stdcxx/trunk/tests/localization/22.locale.num.get.cpp Thread-Index: Acivsm7FFPlqh8y4THuprfBId9fDigAM/BHQ References: <20080411184155.C8D681A9832@eris.apache.org> <4820B617.6000405@roguewave.com> From: "Travis Vitek" To: X-Virus-Checked: Checked by ClamAV on apache.org =20 >Martin Sebor=20 > >vitek@apache.org wrote: >> Author: vitek >> Date: Fri Apr 11 11:41:51 2008 >> New Revision: 647262 >>=20 >> URL: http://svn.apache.org/viewvc?rev=3D647262&view=3Drev >> Log: >>=20 >> 2008-04-11 Travis Vitek >>=20 >> STDCXX-779 >> * tests/localization/22.locale.num.get.cpp: Add new macro >> T_MAX to eliminate potential for accessing local variable >> via pointer after it has gone out of scope. Remove global >> pointer pmax. > >Can we make the local variable static instead of all these >changes? (Global or local, we do want to keep the comment >about the purpose of pval). Committed to 4.2.x as r653965. > >> (do_test): Add new pointer parameter pmax. >> (test_flt_uflow): Use new T_MAX macro. >> (test_dbl_uflow): Ditto. >> (test_ldbl_uflow): Ditto. > >Martin >