stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: svn commit: r466955 - /incubator/stdcxx/trunk/tests/src/printf.cpp
Date Thu, 02 Nov 2006 23:40:05 GMT
faridz@apache.org wrote:
> Author: faridz
> Date: Mon Oct 23 01:57:26 2006
> New Revision: 466955
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=466955
> Log:
> 2006-10-23 Farid Zaripov <faridz@kyiv.vdiweb.com>
> 
> 	* printf.cpp (_rw_fmtstrarray): Use ' ' as delimiter if
> 	' ' is specified in flags field

This new feature should be exercised in the self/0.printf.cpp test.

Martin

> 
> Modified:
>     incubator/stdcxx/trunk/tests/src/printf.cpp
> 
> Modified: incubator/stdcxx/trunk/tests/src/printf.cpp
> URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/src/printf.cpp?view=diff&rev=466955&r1=466954&r2=466955
> ==============================================================================
> --- incubator/stdcxx/trunk/tests/src/printf.cpp (original)
> +++ incubator/stdcxx/trunk/tests/src/printf.cpp Mon Oct 23 01:57:26 2006
> @@ -2255,7 +2255,7 @@
>  
>          const unsigned pound = spec.fl_pound;
>          spec.fl_pound = 0;
> -        n = _rw_fmtstr (spec, buf, ",", 1);
> +        n = _rw_fmtstr (spec, buf, spec.fl_space ? " " : ",", 1);
>          spec.fl_pound = pound;
>  
>          if (n < 0)
> 
> 


Mime
View raw message