|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 01:00:01 2025 UTC |
shm_attach asks, if the return value of shmat is zero. This never happens. The error-condition return value is -1. So just change 162 from if((shm_ptr = shmat(shm_id,NULL,0))==NULL) { to if((shm_ptr = shmat(shm_id,NULL,0))==-1) { Greetings Florian