iliaa Tue Mar 21 00:59:41 2006 UTC Modified files: /php-src/ext/standard syslog.c Log: MFB51: Fixed bug #36689 (Removed arbitrary limit on the length of syslog messages). http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/syslog.c?r1=1.51&r2=1.52&diff_format=u Index: php-src/ext/standard/syslog.c diff -u php-src/ext/standard/syslog.c:1.51 php-src/ext/standard/syslog.c:1.52 --- php-src/ext/standard/syslog.c:1.51 Mon Mar 20 23:07:31 2006 +++ php-src/ext/standard/syslog.c Tue Mar 21 00:59:41 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: syslog.c,v 1.51 2006/03/20 23:07:31 tony2001 Exp $ */ +/* $Id: syslog.c,v 1.52 2006/03/21 00:59:41 iliaa Exp $ */ #include "php.h" @@ -267,12 +267,7 @@ return; } - /* - * CAVEAT: if the message contains patterns such as "%s", - * this will cause problems. - */ - - php_syslog(priority, "%.500s", message); + php_syslog(priority, "%s", message); RETURN_TRUE; } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php