[php-src] PR #19650: Remove include "sanity check" to get better error
| From: | nikic | Date: | Sun, 31 Aug 2025 07:44:34 +0000 |
| Subject: | [php-src] PR #19650: Remove include "sanity check" to get better error | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33010@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19650
Author: nikic
Instead of rejecting directories / non-regular files early with a generic error, we should just
accept them and error later when a read is attempted. This is more general and will generate a
better error message on Linux. On Windows, the error remains the same as before.