sniper Thu Aug 18 08:56:37 2005 EDT
Modified files:
/php-src/ext/unicode locale.c
Log:
Nuked EOL from error message
http://cvs.php.net/diff.php/php-src/ext/unicode/locale.c?r1=1.2&r2=1.3&ty=u
Index: php-src/ext/unicode/locale.c
diff -u php-src/ext/unicode/locale.c:1.2 php-src/ext/unicode/locale.c:1.3
--- php-src/ext/unicode/locale.c:1.2 Fri Aug 12 05:10:04 2005
+++ php-src/ext/unicode/locale.c Thu Aug 18 08:56:36 2005
@@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: locale.c,v 1.2 2005/08/12 09:10:04 sniper Exp $ */
+/* $Id: locale.c,v 1.3 2005/08/18 12:56:36 sniper Exp $ */
#include "php_unicode.h"
@@ -65,7 +65,7 @@
* validation.
*/
if (U_FAILURE(status)) {
- php_error(E_WARNING, "Invalid locale: %s\n", locale);
+ php_error(E_WARNING, "Invalid locale: %s", locale);
RETURN_FALSE;
}
/* don't bother if locales are identical */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php