From bb06030bf7ac8aa3a39a9f7bed03c357cff543d9 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 26 Apr 2019 22:56:08 +0100 Subject: [PATCH] Little detection change proposal. As pointed out, the further path is called by open rather than shm_open. --- ext/opcache/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4 index 314a4fed398..149e7c6deee 100644 --- a/ext/opcache/config.m4 +++ b/ext/opcache/config.m4 @@ -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; }