From: Markus Fischer Date: Mon, 20 May 2002 17:41:35 +0000 (+0000) Subject: - ZTS gotcha X-Git-Tag: RELEASE_0_10~78 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=720a890f848ffc4fa26d8f6b5c9db4f85a7c6e01;p=php - ZTS gotcha --- diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index 5ddb64a173..84ed8a6f63 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -553,7 +553,7 @@ static void php_stat(const char *filename, php_stat_len filename_length, int typ char *stat_sb_names[13]={"dev", "ino", "mode", "nlink", "uid", "gid", "rdev", "size", "atime", "mtime", "ctime", "blksize", "blocks"}; - if (php_check_open_basedir(filename)) { + if (php_check_open_basedir(filename TSRMLS_CC)) { RETURN_FALSE; }