From: David Carlier Date: Fri, 26 Apr 2019 21:56:08 +0000 (+0100) Subject: Little detection change proposal. X-Git-Tag: php-7.4.0alpha1~409 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb06030bf7ac8aa3a39a9f7bed03c357cff543d9;p=php Little detection change proposal. As pointed out, the further path is called by open rather than shm_open. --- diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4 index 314a4fed39..149e7c6dee 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; }