]> granicus.if.org Git - php/commitdiff
- ZTS gotcha
authorMarkus Fischer <mfischer@php.net>
Mon, 20 May 2002 17:41:35 +0000 (17:41 +0000)
committerMarkus Fischer <mfischer@php.net>
Mon, 20 May 2002 17:41:35 +0000 (17:41 +0000)
ext/standard/filestat.c

index 5ddb64a173240cb2bc861cb4e2be9a2e1b0e54c3..84ed8a6f63edb8953e8547341ec17f6c5dc33890 100644 (file)
@@ -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;
        }