summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-09-23 15:34:17 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-10-02 18:54:10 +0200
commit54435c9b43fb568590b223a24dcf582f1292a5d8 (patch)
treeb608c6a920f6b00efe300033d2f14ffa5263e72c
parent2d234d111a012e65ce210d34fb0e876d75059806 (diff)
downloadphp-git-54435c9b43fb568590b223a24dcf582f1292a5d8.tar.gz
Fix #64060: lstat_stat_variation7.phpt fails on certain file systems
Closes GH-6194.
-rw-r--r--NEWS6
-rw-r--r--ext/standard/tests/file/lstat_stat_variation7.phpt1
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index dc39e99d07..b0e4d74d28 100644
--- a/NEWS
+++ b/NEWS
@@ -6,10 +6,14 @@ PHP NEWS
. Fixed bug #80121 (Null pointer deref if CurlHandle directly instantiated).
(Nikita)
-- SPL.
+- SPL:
. Fixed bug #65387 (Circular references in SPL iterators are not garbage
collected). (Nikita)
+- Standard:
+ . Fixed bug #64060 (lstat_stat_variation7.phpt fails on certain file systems).
+ (M. Voelker, cmb)
+
01 Oct 2020, PHP 8.0.0rc1
- CLI:
diff --git a/ext/standard/tests/file/lstat_stat_variation7.phpt b/ext/standard/tests/file/lstat_stat_variation7.phpt
index fab011dd20..a5128606f4 100644
--- a/ext/standard/tests/file/lstat_stat_variation7.phpt
+++ b/ext/standard/tests/file/lstat_stat_variation7.phpt
@@ -18,6 +18,7 @@ $old_stat = stat($file_name);
clearstatcache();
$blksize = PHP_OS_FAMILY === 'Windows' ? 4096 : $old_stat['blksize'];
fwrite($fh, str_repeat("Hello World", $blksize));
+fclose($fh);
$new_stat = stat($file_name);
// compare self stats