summaryrefslogtreecommitdiff
path: root/ext/ftp/php_ftp.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-04-30 12:45:02 +0000
committerAndi Gutmans <andi@php.net>2001-04-30 12:45:02 +0000
commit4c823e8a895632382de841055fa961ec760d086c (patch)
treed319b78485393d28ee56b4302803bc5155558ba6 /ext/ftp/php_ftp.c
parent96330d36bc1146c87a14c7def528e79a4866bee7 (diff)
downloadphp-git-4c823e8a895632382de841055fa961ec760d086c.tar.gz
- Change macros from V_ to VCWD_ because of AIX name clash
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r--ext/ftp/php_ftp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c
index 8f74068eac..2dcbdbda3e 100644
--- a/ext/ftp/php_ftp.c
+++ b/ext/ftp/php_ftp.c
@@ -592,9 +592,9 @@ PHP_FUNCTION(ftp_get)
}
#ifdef PHP_WIN32
- if ((outfp = V_FOPEN(Z_STRVAL_P(arg2), "wb")) == NULL) {
+ if ((outfp = VCWD_FOPEN(Z_STRVAL_P(arg2), "wb")) == NULL) {
#else
- if ((outfp = V_FOPEN(Z_STRVAL_P(arg2), "w")) == NULL) {
+ if ((outfp = VCWD_FOPEN(Z_STRVAL_P(arg2), "w")) == NULL) {
#endif
fclose(tmpfp);
php_error(E_WARNING, "error opening %s", Z_STRVAL_P(arg2));
@@ -680,9 +680,9 @@ PHP_FUNCTION(ftp_put)
XTYPE(xtype, arg4);
#ifdef PHP_WIN32
- if ((infp = V_FOPEN(Z_STRVAL_P(arg3), "rb")) == NULL) {
+ if ((infp = VCWD_FOPEN(Z_STRVAL_P(arg3), "rb")) == NULL) {
#else
- if ((infp = V_FOPEN(Z_STRVAL_P(arg3), "r")) == NULL) {
+ if ((infp = VCWD_FOPEN(Z_STRVAL_P(arg3), "r")) == NULL) {
#endif
php_error(E_WARNING, "error opening %s", Z_STRVAL_P(arg3));
RETURN_FALSE;