mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
Merge branch 'PHP-7.2' into PHP-7.3
This commit is contained in:
commit
16cda039b5
4
NEWS
4
NEWS
@ -10,6 +10,10 @@ PHP NEWS
|
||||
- Apache2Handler:
|
||||
. Fixed bug #77648 (BOM in sapi/apache2handler/php_functions.c). (cmb)
|
||||
|
||||
- FPM:
|
||||
. Fixed bug #77677 (FPM fails to build on AIX due to missing WCOREDUMP).
|
||||
(Kevin Adler)
|
||||
|
||||
- MySQLi:
|
||||
. Fixed bug #77597 (mysqli_fetch_field hangs scripts). (Nikita)
|
||||
|
||||
|
@ -207,7 +207,11 @@ void fpm_children_bury() /* {{{ */
|
||||
|
||||
} else if (WIFSIGNALED(status)) {
|
||||
const char *signame = fpm_signal_names[WTERMSIG(status)];
|
||||
#ifdef WCOREDUMP
|
||||
const char *have_core = WCOREDUMP(status) ? " - core dumped" : "";
|
||||
#else
|
||||
const char* have_core = "";
|
||||
#endif
|
||||
|
||||
if (signame == NULL) {
|
||||
signame = "";
|
||||
|
@ -2819,9 +2819,14 @@ static void lsapi_sigchild( int signal )
|
||||
if ( WIFSIGNALED( status ))
|
||||
{
|
||||
int sig_num = WTERMSIG( status );
|
||||
int dump = WCOREDUMP( status );
|
||||
|
||||
#ifdef WCOREDUMP
|
||||
const char * dump = WCOREDUMP( status ) ? "yes" : "no";
|
||||
#else
|
||||
const char * dump = "unknown";
|
||||
#endif
|
||||
lsapi_log("Child process with pid: %d was killed by signal: "
|
||||
"%d, core dump: %d\n", pid, sig_num, dump );
|
||||
"%d, core dumped: %s\n", pid, sig_num, dump );
|
||||
}
|
||||
if ( pid == s_pid_dump_debug_info )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user