cvs: php4 /ext/standard file.c
| From: | Daniel Beulshausen | Date: | Thu, 26 Oct 2000 18:17:45 +0000 |
| Subject: | cvs: php4 /ext/standard file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2274@lists.php.net to get a copy of this message | ||
dbeu Thu Oct 26 11:17:45 2000 EDT
Modified files:
/php4/ext/standard file.c
Log:
use V_RENAME makro instead
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.118 php4/ext/standard/file.c:1.119
--- php4/ext/standard/file.c:1.118 Wed Oct 25 10:44:00 2000
+++ php4/ext/standard/file.c Thu Oct 26 11:17:45 2000
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.118 2000/10/25 17:44:00 andrei Exp $ */
+/* $Id: file.c,v 1.119 2000/10/26 18:17:45 dbeu Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -1508,7 +1508,7 @@
if (PG(safe_mode) &&(!php_checkuid(old_name, NULL, 2))) {
RETURN_FALSE;
}
- ret = rename(old_name, new_name);
+ ret = V_RENAME(old_name, new_name);
if (ret == -1) {
php_error(E_WARNING,"Rename failed (%s)", strerror(errno));