>Martin Sebor > >[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> >> >> 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 >