com php-src: improve error message: ext/opcache/shared_alloc _win32.c
| From: | Anatol Belski | Date: | Sun, 04 Oct 2015 14:36:53 +0000 |
| Subject: | com php-src: improve error message: ext/opcache/shared_alloc _win32.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89288@lists.php.net to get a copy of this message | ||
Commit: a549a3ac179ec98e2e706e51f3df70e3bda553b2
Author: Anatol Belski <ab@php.net> Sun, 4 Oct 2015 14:33:09 +0200
Parents: c97198e18145fd1f90a4b09979cbec25afa20afd
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a549a3ac179ec98e2e706e51f3df70e3bda553b2
Log:
improve error message
Changed paths:
M ext/opcache/shared_alloc_win32.c
Diff:
diff --git a/ext/opcache/shared_alloc_win32.c b/ext/opcache/shared_alloc_win32.c
index 9b7bfce..2a86e6b 100644
--- a/ext/opcache/shared_alloc_win32.c
+++ b/ext/opcache/shared_alloc_win32.c
@@ -152,7 +152,7 @@ static int zend_shared_alloc_reattach(size_t requested_size, char **error_in)
info.State != MEM_FREE ||
info.RegionSize < requested_size) {
err = ERROR_INVALID_ADDRESS;
- zend_win_error_message(ACCEL_LOG_FATAL, "Unable to reattach to base address", err);
+ zend_win_error_message(ACCEL_LOG_FATAL, "Base address marks unusable memory region",
err);
return ALLOC_FAILURE;
}