stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r640433 - /stdcxx/trunk/tests/src/printf.cpp
Date Mon, 24 Mar 2008 14:59:08 GMT
Author: faridz
Date: Mon Mar 24 07:58:52 2008
New Revision: 640433

URL: http://svn.apache.org/viewvc?rev=640433&view=rev
Log:
2008-03-24  Farid Zaripov  <farid_zaripov@epam.com>

	STDCXX-790
	* tests/src/printf.cpp (rw_vasnprintf): Corrected condition
	in assertion, introduced in r637394.

Modified:
    stdcxx/trunk/tests/src/printf.cpp

Modified: stdcxx/trunk/tests/src/printf.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/tests/src/printf.cpp?rev=640433&r1=640432&r2=640433&view=diff
==============================================================================
--- stdcxx/trunk/tests/src/printf.cpp (original)
+++ stdcxx/trunk/tests/src/printf.cpp Mon Mar 24 07:58:52 2008
@@ -977,7 +977,7 @@
         // over it
         fmt        += 4;
         buf.endoff  = *buf.pbuf ? strlen (*buf.pbuf) : 0;
-        RW_ASSERT (buf.endoff < *buf.pbufsize);
+        RW_ASSERT (buf.endoff < *buf.pbufsize || !*buf.pbuf);
     }
     else if (*buf.pbuf)
         **buf.pbuf = '\0';



Mime
View raw message