diff options
author | Pierre Joye <pierre.php@gmail.com> | 2014-05-17 05:50:01 +0200 |
---|---|---|
committer | Pierre Joye <pierre.php@gmail.com> | 2014-05-17 05:50:01 +0200 |
commit | 0ba3aec5f7762fc9be36af4efcbadbc605c3359c (patch) | |
tree | fae8eb28022789eabef986074de86abbb8a4f5ba | |
parent | c0bd24b50206062bbb276b305d757c0b84af653c (diff) | |
download | php-git-0ba3aec5f7762fc9be36af4efcbadbc605c3359c.tar.gz |
only used if HAVE_NOFOLLOW
-rw-r--r-- | ext/session/mod_files.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index dd9361b34e..2c2b0fa555 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -121,7 +121,9 @@ static void ps_files_close(ps_files *data) static void ps_files_open(ps_files *data, const char *key TSRMLS_DC) { char buf[MAXPATHLEN]; +#ifdef O_NOFOLLOW struct stat sbuf; +#endif if (data->fd < 0 || !data->lastkey || strcmp(key, data->lastkey)) { if (data->lastkey) { |