com php-src: Fixed compilation error: shared_alloc_win3 2.c
| From: | Dmitry Stogov | Date: | Wed, 20 Feb 2013 07:21:15 +0000 |
| Subject: | com php-src: Fixed compilation error: shared_alloc_win3 2.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71524@lists.php.net to get a copy of this message | ||
Commit: b95964535cfa9561a3d18c3573d8afe47a8b7343
Author: Dmitry Stogov <dmitry@zend.com> Wed, 20 Feb 2013 11:21:15 +0400
Parents: 1fcdd25e83e2193854cd80c314af8e8bcd38fcda
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b95964535cfa9561a3d18c3573d8afe47a8b7343
Log:
Fixed compilation error
Changed paths:
M shared_alloc_win32.c
Diff:
diff --git a/shared_alloc_win32.c b/shared_alloc_win32.c
index 61dbd80..f275c64 100644
--- a/shared_alloc_win32.c
+++ b/shared_alloc_win32.c
@@ -212,7 +212,7 @@ static int create_segments(size_t requested_size, zend_shared_segment ***shared_
*shared_segments_count = 1;
*shared_segments_p = (zend_shared_segment **) calloc(1, sizeof(zend_shared_segment)+sizeof(void
*));
if (!*shared_segments_p) {
- zend_win_error_message(ACCEL_LOG_FATAL, "calloc() failed");
+ zend_win_error_message(ACCEL_LOG_FATAL, "calloc() failed", GetLastError());
*error_in = "calloc";
return ALLOC_FAILURE;
}