From e40268d07c9f0cae3f43b80e2c795a2b35253af5 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Thu, 20 Apr 2000 16:38:08 +0000 Subject: - Add missing V_STAT() --- main/php_realpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/php_realpath.c') diff --git a/main/php_realpath.c b/main/php_realpath.c index d60efa362c..66dfe5e9ca 100644 --- a/main/php_realpath.c +++ b/main/php_realpath.c @@ -251,7 +251,7 @@ char *php_realpath(char *path, char resolved_path []) { } /* Check if the resolved path is a directory */ - if (stat(path_construction, &filestat) != 0) return NULL; + if (V_STAT(path_construction, &filestat) != 0) return NULL; if (S_ISDIR(filestat.st_mode)) { /* It's a directory, append a / if needed */ if (*(writepos-1) != '/') { -- cgit v1.2.1