Skip to content

Commit bb06030

Browse files
devnexenpetk
authored andcommitted
Little detection change proposal.
As pointed out, the further path is called by open rather than shm_open.
1 parent d0719be commit bb06030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ int main() {
294294
char *shm;
295295
char tmpname[4096];
296296
297-
sprintf(tmpname,"/opcache.test.shm.%dXXXXXX", getpid());
297+
sprintf(tmpname,"opcache.test.shm.%dXXXXXX", getpid());
298298
if (mktemp(tmpname) == NULL) {
299299
return 1;
300300
}

0 commit comments

Comments
 (0)