]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix for broken MacOS limitation for name length of shm_open.
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 27 Dec 2020 15:53:29 +0000 (16:53 +0100)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 27 Dec 2020 15:55:50 +0000 (16:55 +0100)
commit2b0eabeb48d63234a3dbaad9c1f4d81305439b3e
tree9ef0accf59f45f2d41a6a773c12cd350856e5994
parente4c896fd159c3533fbaefa538fc6c6189b86bf21
Fix for broken MacOS limitation for name length of shm_open.

libgfortran/ChangeLog:

* caf_shared/util.c (CUT_INT): New macro.
(MEMOBJ_NAME): Set to something short if __APPLE__ is defined.
(get_shmem_fd): Exit on any error but EEXIST.
libgfortran/caf_shared/util.c