com php-src: Fixed bug #69325 (php_copy_file_ex does not pass the argument): NEWS ext/standard/file .c
| From: | Xinchen Hui | Date: | Wed, 08 Apr 2015 06:33:01 +0000 |
| Subject: | com php-src: Fixed bug #69325 (php_copy_file_ex does not pass the argument): NEWS ext/standard/file .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86122@lists.php.net to get a copy of this message | ||
Commit: fa795b05530c4ccd33ff63f23903bf4b458dc491
Author: Xinchen Hui <laruence@php.net> Wed, 8 Apr 2015 14:32:31 +0800
Parents: f23f7dfed03e67c9b5cca076e24ccf9f7c761674
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fa795b05530c4ccd33ff63f23903bf4b458dc491
Log:
Fixed bug #69325 (php_copy_file_ex does not pass the argument)
Bugs:
https://bugs.php.net/69325
Changed paths:
M NEWS
M ext/standard/file.c
Diff:
diff --git a/NEWS b/NEWS
index 4da1522..67c7d53 100644
--- a/NEWS
+++ b/NEWS
@@ -172,6 +172,8 @@
required_num_args). (Julien)
- Standard:
+ . Fixed bug #69325 (php_copy_file_ex does not pass the argument).
+ (imbolk at gmail dot com)
. Fixed bug #69299 (Regression in array_filter's $flag argument in PHP 7).
(Laruence)
. Removed call_user_method() and call_user_method_array() functions. (Kalle)
diff --git a/ext/standard/file.c b/ext/standard/file.c
index dae4235..f31407b 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -1665,7 +1665,7 @@ PHPAPI int php_copy_file(const char *src, const char *dest)
*/
PHPAPI int php_copy_file_ex(const char *src, const char *dest, int src_flg)
{
- return php_copy_file_ctx(src, dest, 0, NULL);
+ return php_copy_file_ctx(src, dest, src_flg, NULL);
}
/* }}} */