helly           Thu Jan 18 23:17:49 2007 UTC

  Modified files:              
    /php-src/ext/date   php_date.c 
  Log:
  - We want the size here not the length
  
http://cvs.php.net/viewvc.cgi/php-src/ext/date/php_date.c?r1=1.128&r2=1.129&diff_format=u
Index: php-src/ext/date/php_date.c
diff -u php-src/ext/date/php_date.c:1.128 php-src/ext/date/php_date.c:1.129
--- php-src/ext/date/php_date.c:1.128   Wed Jan  3 14:46:52 2007
+++ php-src/ext/date/php_date.c Thu Jan 18 23:17:49 2007
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_date.c,v 1.128 2007/01/03 14:46:52 derick Exp $ */
+/* $Id: php_date.c,v 1.129 2007/01/18 23:17:49 helly Exp $ */
 
 #include "php.h"
 #include "php_streams.h"
@@ -794,7 +794,7 @@
        va_start(ap, format);
 
        if (UG(unicode)) {
-               c = vuspprintf(str, size, format, ap);
+               c = vuspprintf(str, size, format, ap) * 2;
        } else {
                c = vspprintf(str, size, format, ap);
        }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to