[php-src] PR #13615: Make php_stream_dirent big enough on macOS
| From: | jdp1024 | Date: | Thu, 07 Mar 2024 01:18:09 +0000 |
| Subject: | [php-src] PR #13615: Make php_stream_dirent big enough on macOS | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25283@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13615
Author: jdp1024
On macOS, the member d_name of struct direct is defined as
char d_name[__DARWIN_MAXPATHLEN];
which is inconsistent against PHP’s definition. This inconsistency causes very long file name
truncated to 255 chars on macOS when using readdir().