mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
*** empty log message ***
This commit is contained in:
parent
0f4f00e3ae
commit
ffe4bd566f
1 changed files with 1 additions and 2 deletions
|
@ -2125,8 +2125,7 @@ void LSAPI_Init_Env_Parameters( fn_select_t fp )
|
||||||
|
|
||||||
#if defined( RLIMIT_CORE )
|
#if defined( RLIMIT_CORE )
|
||||||
p = getenv( "LSAPI_ALLOW_CORE_DUMP" );
|
p = getenv( "LSAPI_ALLOW_CORE_DUMP" );
|
||||||
if ( !p )
|
if ( !p ) {
|
||||||
{
|
|
||||||
struct rlimit limit = { 0, 0 };
|
struct rlimit limit = { 0, 0 };
|
||||||
setrlimit( RLIMIT_CORE, &limit );
|
setrlimit( RLIMIT_CORE, &limit );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue