diff options
author | Anatol Belski <ab@php.net> | 2014-10-03 20:30:49 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-10-03 20:30:49 +0200 |
commit | ee4ae7fbc3ba6de5f51f95a621e14a18dd55c95d (patch) | |
tree | d774f5b506e70bc8a70ef22988e2d374bf0756b8 /TSRM | |
parent | 45e23645a42ba939fb1cca9cc099f977af2a4722 (diff) | |
parent | 1ff094deb481234c0aa2fb5b0ee144b7aba924ff (diff) | |
download | php-git-ee4ae7fbc3ba6de5f51f95a621e14a18dd55c95d.tar.gz |
Merge remote-tracking branch 'origin/master' into native-tls
* origin/master:
remove the remains of dsp files handling
fix EX usage
remove misprint parentheses
remove misprint parentheses
Replaced EG(This) and EX(object) with EX(This). Internal functions now recieves zend_execute_data as the first argument.
And this one...
It should be in extern c
Remove useless condition
NEWS entry for previous commit
NEWS entry for previous commit
add IPv6 support to php-fpm
Micro optimization for the most frequency case
Add hash to EXTENSIONS file
Remove extensions which are long gone
we also have xz release tarballs since 5.5
Fix ZTS build
improved file size computation in stat()
Fixed incorrect compilation
5.5.19 now
Diffstat (limited to 'TSRM')
-rw-r--r-- | TSRM/tsrm_win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c index b6ac4231ee..faa186a1bb 100644 --- a/TSRM/tsrm_win32.c +++ b/TSRM/tsrm_win32.c @@ -605,13 +605,13 @@ TSRM_API int shmget(int key, int size, int flags) shm_handle = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, shm_segment); info_handle = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, shm_info); - if ((!shm_handle && !info_handle)) { + if (!shm_handle && !info_handle) { if (flags & IPC_CREAT) { shm_handle = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, size, shm_segment); info_handle = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, sizeof(shm->descriptor), shm_info); created = TRUE; } - if ((!shm_handle || !info_handle)) { + if (!shm_handle || !info_handle) { return -1; } } else { |