cvs: php-src /ext/standard ftp_fopen_wrapper.c
| From: | Sara Golemon | Date: | Mon, 17 May 2004 20:31:59 +0000 |
| Subject: | cvs: php-src /ext/standard ftp_fopen_wrapper.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-27363@lists.php.net to get a copy of this message | ||
pollita Mon May 17 16:31:59 2004 EDT
Modified files:
/php-src/ext/standard ftp_fopen_wrapper.c
Log:
BugFix# 27982: Provide error message when trying to overwrite an existant file without overwrite
context option.
http://cvs.php.net/diff.php/php-src/ext/standard/ftp_fopen_wrapper.c?r1=1.73&r2=1.74&ty=u
Index: php-src/ext/standard/ftp_fopen_wrapper.c
diff -u php-src/ext/standard/ftp_fopen_wrapper.c:1.73 php-src/ext/standard/ftp_fopen_wrapper.c:1.74
--- php-src/ext/standard/ftp_fopen_wrapper.c:1.73 Wed Jan 28 17:50:12 2004
+++ php-src/ext/standard/ftp_fopen_wrapper.c Mon May 17 16:31:59 2004
@@ -18,7 +18,7 @@
| Sara Golemon <pollita@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: ftp_fopen_wrapper.c,v 1.73 2004/01/28 22:50:12 pollita Exp $ */
+/* $Id: ftp_fopen_wrapper.c,v 1.74 2004/05/17 20:31:59 pollita Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -457,6 +457,7 @@
goto errexit;
}
} else {
+ php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Remote file already exists and
overwrite context option not specified.");
errno = EEXIST;
goto errexit;
}