From: Stig Bakken Date: Sat, 9 Sep 2000 01:15:50 +0000 (+0000) Subject: * compile fix X-Git-Tag: php-4.0.3RC1~233 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7918735b11cf38134e422daf162086ba81376204;p=php * compile fix --- diff --git a/ext/standard/file.c b/ext/standard/file.c index e2df54c91e..a4db2dc274 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1770,7 +1770,7 @@ PHPAPI int php_copy_file(char *src, char *dest) #ifdef PHP_WIN32 if ((fd_t=V_OPEN((dest,_O_WRONLY|_O_CREAT|_O_TRUNC|_O_BINARY,_S_IREAD|_S_IWRITE)))==-1) { #else - if ((fd_t=V_CREAT((dest,0777))==-1) { + if ((fd_t=V_CREAT(dest,0777))==-1) { #endif php_error(E_WARNING,"Unable to create '%s': %s", dest, strerror(errno)); close(fd_s);