com php-src: Fix build on Windows: Zend/zend_virtual_cwd. c
| From: | Kalle Sommer Nielsen | Date: | Sat, 30 Jul 2016 15:30:49 +0000 |
| Subject: | com php-src: Fix build on Windows: Zend/zend_virtual_cwd. c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93493@lists.php.net to get a copy of this message | ||
Commit: bfba840e42cff04046900b322ed50cdfd163608a
Author: Kalle Sommer Nielsen <kalle@php.net> Sat, 30 Jul 2016 17:30:49 +0200
Parents: 6b55e7324ef67419296a8ef3c668979b381bc727
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bfba840e42cff04046900b322ed50cdfd163608a
Log:
Fix build on Windows
Changed paths:
M Zend/zend_virtual_cwd.c
Diff:
diff --git a/Zend/zend_virtual_cwd.c b/Zend/zend_virtual_cwd.c
index 7861e95..45898a8 100644
--- a/Zend/zend_virtual_cwd.c
+++ b/Zend/zend_virtual_cwd.c
@@ -299,7 +299,7 @@ CWD_API int php_sys_stat_ex(const char *path, zend_stat_t *buf, int lstat) /* {{
WIN32_FILE_ATTRIBUTE_DATA data;
LARGE_INTEGER t;
const size_t path_len = strlen(path);
- ALLOCA_FLAG(use_heap_large);
+ ALLOCA_FLAG(use_heap_large)
wchar_t *pathw = php_win32_ioutil_any_to_w(path);
if (!pathw) {