[prev in list] [next in list] [prev in thread] [next in thread]
List: php-cvs
Subject: [PHP-CVS] cvs: php-src /ext/json json.c
From: "Jani Taskinen" <jani () php ! net>
Date: 2009-05-31 13:50:50
Message-ID: cvsjani1243777850 () cvsserver
[Download RAW message or body]
jani Sun May 31 13:50:50 2009 UTC
Modified files:
/php-src/ext/json json.c
Log:
- No dots in error messages
http://cvs.php.net/viewvc.cgi/php-src/ext/json/json.c?r1=1.54&r2=1.55&diff_format=u
Index: php-src/ext/json/json.c
diff -u php-src/ext/json/json.c:1.54 php-src/ext/json/json.c:1.55
--- php-src/ext/json/json.c:1.54 Sun May 31 01:45:05 2009
+++ php-src/ext/json/json.c Sun May 31 13:50:50 2009
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: json.c,v 1.54 2009/05/31 01:45:05 andrei Exp $ */
+/* $Id: json.c,v 1.55 2009/05/31 13:50:50 jani Exp $ */
/*
* UTODO
@@ -456,7 +456,7 @@
smart_str_appendl(buf, d, len);
efree(d);
} else {
- zend_error(E_WARNING, "[json] (json_encode_r) double %.9g does not conform to \
the JSON spec, encoded as 0.", dbl); + zend_error(E_WARNING, "[json] \
(json_encode_r) double %.9g does not conform to the JSON spec, encoded as 0", dbl); \
smart_str_appendc(buf, '0'); }
}
@@ -473,7 +473,7 @@
break;
default:
- zend_error(E_WARNING, "[json] (json_encode_r) type is unsupported, encoded as \
null."); + zend_error(E_WARNING, "[json] (json_encode_r) type is unsupported, \
encoded as null"); smart_str_appendl(buf, "null", 4);
break;
}
@@ -543,7 +543,7 @@
}
if (depth <= 0) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Depth must greater than zero.");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Depth must greater than zero");
RETURN_NULL();
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic