You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Martin Sebor <se...@roguewave.com> on 2006/11/03 00:40:05 UTC

Re: svn commit: r466955 - /incubator/stdcxx/trunk/tests/src/printf.cpp

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 <fa...@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)
> 
>