[php-src] PR #21522: fileinfo: don't compile libmagic/strcasestr.c
| From: | orlitzky | Date: | Wed, 25 Mar 2026 13:04:36 +0000 |
| Subject: | [php-src] PR #21522: fileinfo: don't compile libmagic/strcasestr.c | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35346@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21522
Author: orlitzky
Split from https://github.com/php/php-src/pull/21472
PHP's copy of libmagic does not use the
strcasestr() function, so there is no need
to check for it or compile the fallback implementation.
This leaves libmagic/strcasestr.c unused, but since we are maintaining a patch against
upstream libmagic, removing the file (and including the removal in the patch) is not a clear win.