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 <[EMAIL PROTECTED]>
* printf.cpp (_rw_fmtstrarray): Use ' ' as delimiter if
' ' is specified in flags field
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)