This commit is contained in:
foobar 2002-05-09 19:58:39 +00:00
parent fb0c506592
commit 773da954f8

View File

@ -505,8 +505,7 @@ static void php_error_cb(int type, const char *error_filename, const uint error_
if (prepend_string) {
PUTS(prepend_string);
}
php_printf(error_format, error_type_str, buffer,
error_filename, error_lineno);
php_printf(error_format, error_type_str, buffer, error_filename, error_lineno);
if (PG(xmlrpc_errors)) {
free_alloca(error_format);
}
@ -694,8 +693,7 @@ static void php_message_handler_for_zend(long message, void *data)
*/
static void sigchld_handler(int apar)
{
while (waitpid(-1, NULL, WNOHANG) > 0)
;
while (waitpid(-1, NULL, WNOHANG) > 0);
signal(SIGCHLD, sigchld_handler);
}
/* }}} */