stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Travis Vitek" <Travis.Vi...@roguewave.com>
Subject RE: svn commit: r647262 - /stdcxx/trunk/tests/localization/22.locale.num.get.cpp
Date Wed, 07 May 2008 02:03:29 GMT
 

>Martin Sebor 
>
>vitek@apache.org wrote:
>> Author: vitek
>> Date: Fri Apr 11 11:41:51 2008
>> New Revision: 647262
>> 
>> URL: http://svn.apache.org/viewvc?rev=647262&view=rev
>> Log:
>> 
>> 2008-04-11  Travis Vitek  <vitek@roguewave.com>
>> 
>> 	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
>

Mime
View raw message