com php-src: Merge branch 'PHP-5.6': ext/session/mod_files. c

From: Date: Tue, 03 Feb 2015 05:07:23 +0000
Subject: com php-src: Merge branch 'PHP-5.6': ext/session/mod_files. c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-84582@lists.php.net to get a copy of this message
Commit: 1aa6242dcf856f799cd2c48a993fa507fbd949e6 Author: Yasuo Ohgaki <yohgaki@php.net> Tue, 3 Feb 2015 14:07:23 +0900 Parents: 5afe554d329cc7ebf054a42cc1d9bc3cff3e1b9a 4dd7851208af77588b55bfcb4987f6fc16217784 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1aa6242dcf856f799cd2c48a993fa507fbd949e6 Log: Merge branch 'PHP-5.6' * PHP-5.6: Fixed Bug #66623 no EINTR check on flock(LOCK_EX) Conflicts: ext/session/mod_files.c Bugs: https://bugs.php.net/66623 Changed paths: MM ext/session/mod_files.c Diff: diff --cc ext/session/mod_files.c index 561d216,195104f..2db5159 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@@ -153,12 -118,11 +153,13 @@@ static void ps_files_close(ps_files *da } } -static void ps_files_open(ps_files *data, const char *key TSRMLS_DC) +static void ps_files_open(ps_files *data, const char *key) { char buf[MAXPATHLEN]; - struct stat sbuf; +#if !defined(O_NOFOLLOW) || !defined(PHP_WIN32) + struct stat sbuf; +#endif + int ret; if (data->fd < 0 || !data->lastkey || strcmp(key, data->lastkey)) { if (data->lastkey) {

« previous php.cvs (#84582) next »