Skip to content

Commit

Permalink
* shmem/unix/shm.c (apr_shm_perms_set): Omit the POSIX shm
Browse files Browse the repository at this point in the history
  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
  • Loading branch information
notroj committed Aug 8, 2024
1 parent f696106 commit 5d037c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shmem/unix/shm.c
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,9 @@ APR_PERMS_SET_IMPLEMENT(shm)
return errno;
}
return APR_SUCCESS;
#elif APR_USE_SHMEM_MMAP_SHM
#elif APR_USE_SHMEM_MMAP_SHM && !defined(DARWIN)
/* ### This hangs or fails on MacOS, so skipping this for the
* ENOTIMPL case there - unclear why or if that's fixable. */
apr_shm_t *shm = (apr_shm_t *)theshm;
const char *shm_name;
int fd;
Expand Down

0 comments on commit 5d037c6

Please sign in to comment.