Commit:    b95964535cfa9561a3d18c3573d8afe47a8b7343
Author:    Dmitry Stogov <dmi...@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;
        }


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to