cvs: php-src /ext/standard syslog.c
| From: | Ilia Alshanetsky | Date: | Tue, 21 Mar 2006 00:59:41 +0000 |
| Subject: | cvs: php-src /ext/standard syslog.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-37375@lists.php.net to get a copy of this message | ||
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;
}
/* }}} */