[php-src] PR #11247: Fix bug GH-11246 cli/get_set_process_title initialisation failure on MacOS

From: Date: Tue, 16 May 2023 00:56:53 +0000
Subject: [php-src] PR #11247: Fix bug GH-11246 cli/get_set_process_title initialisation failure on MacOS
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-22520@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/11247 Author: lucasnetau Fixes #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 (#22520) next »