com php-src: This should be this (broken compiling before): ext/session/mod_files.c
| From: | Xinchen Hui | Date: | Mon, 19 May 2014 02:26:10 +0000 |
| Subject: | com php-src: This should be this (broken compiling before): ext/session/mod_files.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-78453@lists.php.net to get a copy of this message | ||
Commit: f2d1ace1b4be65154209808e84a9aa317ca5c1bd
Author: Xinchen Hui <laruence@php.net> Mon, 19 May 2014 10:26:10 +0800
Parents: 3eeb0dc9f74a0267dfed3b62caffe1c98bea9106
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f2d1ace1b4be65154209808e84a9aa317ca5c1bd
Log:
This should be this (broken compiling before)
Changed paths:
M ext/session/mod_files.c
Diff:
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c
index 2c2b0fa...3366985 100644
--- a/ext/session/mod_files.c
+++ b/ext/session/mod_files.c
@@ -121,7 +121,7 @@ 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
+#if !defined(O_NOFOLLOW) || !defined(PHP_WIN32)
struct stat sbuf;
#endif