cvs: php-src(PHP_4_3) /ext/standard file.c

From: Date: Thu, 28 Oct 2004 05:05:57 +0000
Subject: cvs: php-src(PHP_4_3) /ext/standard file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-29044@lists.php.net to get a copy of this message
tony2001 Thu Oct 28 01:05:57 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard file.c Log: fix Win32 & Netware build http://cvs.php.net/diff.php/php-src/ext/standard/file.c?r1=1.279.2.63&r2=1.279.2.64&ty=u Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.279.2.63 php-src/ext/standard/file.c:1.279.2.64 --- php-src/ext/standard/file.c:1.279.2.63 Wed Oct 27 08:01:20 2004 +++ php-src/ext/standard/file.c Thu Oct 28 01:05:57 2004 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.279.2.63 2004/10/27 12:01:20 tony2001 Exp $ */ +/* $Id: file.c,v 1.279.2.64 2004/10/28 05:05:57 tony2001 Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -1917,6 +1917,7 @@ struct stat sb; if (php_copy_file(old_name, new_name TSRMLS_CC) == SUCCESS) { if (VCWD_STAT(old_name, &sb) == 0) { +#if !defined(TSRM_WIN32) && !defined(NETWARE) if (VCWD_CHMOD(new_name, sb.st_mode)) { if (errno == EPERM) { php_error_docref2(NULL TSRMLS_CC, old_name, new_name, E_WARNING, "%s", strerror(errno)); @@ -1935,6 +1936,7 @@ php_error_docref2(NULL TSRMLS_CC, old_name, new_name, E_WARNING, "%s", strerror(errno)); RETURN_FALSE; } +#endif VCWD_UNLINK(old_name); RETURN_TRUE; }

« previous php.cvs (#29044) next »