]> granicus.if.org Git - php/commitdiff
use V_RENAME makro instead
authorDaniel Beulshausen <dbeu@php.net>
Thu, 26 Oct 2000 18:17:45 +0000 (18:17 +0000)
committerDaniel Beulshausen <dbeu@php.net>
Thu, 26 Oct 2000 18:17:45 +0000 (18:17 +0000)
ext/standard/file.c

index 4fd186941e0284e17dd9ee876e6ceb22eb6b927d..c85ba328b4145f987f88b21c932ea2228dd12b16 100644 (file)
@@ -1508,7 +1508,7 @@ PHP_FUNCTION(rename)
        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));