mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Little detection change proposal.
As pointed out, the further path is called by open rather than shm_open.
This commit is contained in:
parent
d0719be436
commit
bb06030bf7
@ -294,7 +294,7 @@ int main() {
|
||||
char *shm;
|
||||
char tmpname[4096];
|
||||
|
||||
sprintf(tmpname,"/opcache.test.shm.%dXXXXXX", getpid());
|
||||
sprintf(tmpname,"opcache.test.shm.%dXXXXXX", getpid());
|
||||
if (mktemp(tmpname) == NULL) {
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user