com php-src: Merge branch 'PHP-5.6' into PHP-7.0: ext/standard/file.c
| From: | Anatol Belski | Date: | Sun, 11 Sep 2016 10:59:43 +0000 |
| Subject: | com php-src: Merge branch 'PHP-5.6' into PHP-7.0: ext/standard/file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94419@lists.php.net to get a copy of this message | ||
Commit: 874697e30a5da3bf8959f274096a7237238769b5
Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 31 Aug 2016 14:53:53 +0200
Committer: Anatol Belski <ab@php.net> Sun, 11 Sep 2016 12:59:43 +0200
Parents: d947d974d598a35f08a6a9057ffc3dffac72c6c2
Branches: PHP-7.0.11
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=874697e30a5da3bf8959f274096a7237238769b5
Log:
Merge branch 'PHP-5.6' into PHP-7.0
(cherry picked from commit 8f32d609c586fdaab200d50377eb8b2e2667d2d2)
Changed paths:
M ext/standard/file.c
Diff:
diff --git a/ext/standard/file.c b/ext/standard/file.c
index e228ce6..5b05177 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -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;
}