1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
  [skip ci] Further increase allowable atime deviation
This commit is contained in:
Ilija Tovilo
2023-11-14 18:37:17 +01:00
+1 -1
View File
@@ -611,7 +611,7 @@ function compare_stats($stat1, $stat2, $fields, $op = "==", $flag = false ) {
if ( ! in_array( $fields[$index], $stat_time_diff_keys ) ) {
$result = false;
echo "Error: stat1 do not match with stat2 at key value: $fields[$index]\n";
} elseif (abs($stat1[ $fields[$index] ] - $stat2[ $fields[$index] ]) > 1) {
} elseif (abs($stat1[ $fields[$index] ] - $stat2[ $fields[$index] ]) > 2) {
$result = false;
echo "Error: stat1 differs too much from stat2 at key value: $fields[$index]\n";
}