diff options
author | Julien Pauli <jpauli@php.net> | 2016-07-11 14:59:24 +0200 |
---|---|---|
committer | Julien Pauli <jpauli@php.net> | 2016-07-11 14:59:24 +0200 |
commit | 51e7415575e19b7819cdc24e691ccc58d599cc5c (patch) | |
tree | f187d119e1d648ae0420ec89a7c99c8045296990 /sapi/litespeed | |
parent | 61a5e2ea746915ea42c22e889c0c644fde32d6ed (diff) | |
parent | fc2c301fe266c0a2e36ffb07fdc6aea6ca1916a3 (diff) | |
download | php-git-51e7415575e19b7819cdc24e691ccc58d599cc5c.tar.gz |
Merge branch 'PHP-7.0'
* PHP-7.0:
Remove needless zeroing of anonymously mmap'd memory
Remove needless zeroing of anonymously mmap'd memory
Diffstat (limited to 'sapi/litespeed')
-rw-r--r-- | sapi/litespeed/lsapilib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sapi/litespeed/lsapilib.c b/sapi/litespeed/lsapilib.c index 41a1715d07..125edac9a8 100644 --- a/sapi/litespeed/lsapilib.c +++ b/sapi/litespeed/lsapilib.c @@ -2639,7 +2639,6 @@ static int lsapi_init_children_status() perror( "Anonymous mmap() failed" ); return -1; } - memset( pBuf, 0, size ); g_prefork_server->m_pChildrenStatus = (lsapi_child_status *)pBuf; g_prefork_server->m_pChildrenStatusCur = (lsapi_child_status *)pBuf; g_prefork_server->m_pChildrenStatusEnd = (lsapi_child_status *)pBuf + size / sizeof( lsapi_child_status ); |