com php-src: only used if HAVE_NOFOLLOW: ext/session/mod _files.c

From: Date: Sat, 17 May 2014 03:50:01 +0000
Subject: com php-src: only used if HAVE_NOFOLLOW: ext/session/mod _files.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-78423@lists.php.net to get a copy of this message
Commit: 0ba3aec5f7762fc9be36af4efcbadbc605c3359c Author: Pierre Joye <pierre.php@gmail.com> Sat, 17 May 2014 05:50:01 +0200 Parents: c0bd24b50206062bbb276b305d757c0b84af653c Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0ba3aec5f7762fc9be36af4efcbadbc605c3359c Log: only used if HAVE_NOFOLLOW Changed paths: M ext/session/mod_files.c Diff: diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index dd9361b..2c2b0fa 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) {

« previous php.cvs (#78423) next »