[php-src] PR #11668: Fix tests for stat rdev
| From: | nielsdos | Date: | Mon, 10 Jul 2023 20:13:28 +0000 |
| Subject: | [php-src] PR #11668: Fix tests for stat rdev | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22991@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11668
Author: nielsdos
If HAVE_STRUCT_STAT_ST_RDEV is not set, rdev will be -1. %d only matches a natural number, we should
let it match negative numbers too.
This is a partial fix for GH-11666, the diskfreespace test fails but that's for a unknown yet
reason.