use V_RENAME makro instead

This commit is contained in:
Daniel Beulshausen 2000-10-26 18:17:45 +00:00
parent 00d1d1a347
commit 52e45f514b

View 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));