mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
ws fix
This commit is contained in:
parent
fb0c506592
commit
773da954f8
@ -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);
|
||||
}
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user