[php-src] PR #11273: Fix bug GH-11246 cli/get_set_process_title initialisation failure on MacOS (PHP >= 8.2)

From: Date: Fri, 19 May 2023 00:53:11 +0000
Subject: [php-src] PR #11273: Fix bug GH-11246 cli/get_set_process_title initialisation failure on MacOS (PHP >= 8.2)
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-22537@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/11273 Author: lucasnetau Additional PR along with PR #11247 targeting PHP>=8.2 due to commit b468d6f Fixes https://github.com/php/php-src/issues/11246, when executing on MacOS it was found that the environ area my not be contiguous. Checking the original Postgres implementation https://github.com/postgres/postgres/blob/master/src/backend/utils/misc/ps_status.c the PHP code fails if either argv or environ is non-contiguous whereas the original code only fails if argv is ever non-contiguous. Additionally the end_of_area variable is changed even if we hit a non-contiguous environ section, another divergence from the original code

« previous php.git-pulls (#22537) next »