]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-5.6' into PHP-7.0
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 31 Aug 2016 12:53:53 +0000 (14:53 +0200)
committerAnatol Belski <ab@php.net>
Sun, 11 Sep 2016 10:59:43 +0000 (12:59 +0200)
(cherry picked from commit 8f32d609c586fdaab200d50377eb8b2e2667d2d2)

ext/standard/file.c

index e228ce6121db2971bf5cc21a219d18f66e75add6..5b051774c9956931ec192fa5c038dabdfb0d715d 100644 (file)
@@ -1547,7 +1547,7 @@ PHP_NAMED_FUNCTION(php_if_ftruncate)
        }
 
        if (size < 0) {
-               php_error_docref(NULL, E_WARNING, "Negative size is not supported");
+               /* php_error_docref(NULL, E_WARNING, "Negative size is not supported"); */
                RETURN_FALSE;
        }