From: Andi Gutmans Date: Tue, 12 Sep 2000 04:13:21 +0000 (+0000) Subject: - Fix bug #5997 X-Git-Tag: php-4.0.3RC1~169 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88b469203c1d18b552b89c7fd94d0a796d7d2ec8;p=php - Fix bug #5997 --- diff --git a/ext/standard/file.c b/ext/standard/file.c index ecd9c59414..cd6a4ef638 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1314,7 +1314,7 @@ PHP_FUNCTION(rmdir) if (PG(safe_mode) &&(!php_checkuid((*arg1)->value.str.val, NULL, 1))) { RETURN_FALSE; } - ret = rmdir((*arg1)->value.str.val); + ret = V_RMDIR((*arg1)->value.str.val); if (ret < 0) { php_error(E_WARNING,"RmDir failed (%s)", strerror(errno)); RETURN_FALSE;