php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #69325
Patch argument_patch.diff revision 2015-03-29 04:55 UTC by imbolk at gmail dot com

Patch argument_patch.diff for Filesystem function related Bug #69325

Patch version 2015-03-29 04:55 UTC

Return to Bug #69325 | Download this patch
Patch Revisions:

Developer: imbolk@gmail.com

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);
 }
 /* }}} */
 
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Aug 07 19:03:40 2022 UTC