Skip to content

Commit 5d037c6

Browse files
committed
* shmem/unix/shm.c (apr_shm_perms_set): Omit the POSIX shm
implementation on MacOS (falling through to ENOTIMPL instead), since it is either failing or hanging in testing. See https://lists.apache.org/thread/1gj7j8h0nxlly2j2gnrbh6m7sy4o0fob git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1919740 13f79535-47bb-0310-9956-ffa450edef68
1 parent f696106 commit 5d037c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

shmem/unix/shm.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,9 @@ APR_PERMS_SET_IMPLEMENT(shm)
706706
return errno;
707707
}
708708
return APR_SUCCESS;
709-
#elif APR_USE_SHMEM_MMAP_SHM
709+
#elif APR_USE_SHMEM_MMAP_SHM && !defined(DARWIN)
710+
/* ### This hangs or fails on MacOS, so skipping this for the
711+
* ENOTIMPL case there - unclear why or if that's fixable. */
710712
apr_shm_t *shm = (apr_shm_t *)theshm;
711713
const char *shm_name;
712714
int fd;

0 commit comments

Comments
 (0)