1
1
openmpi/oshmem/runtime
Brian Barrett e9e4d2a4bc Handle asprintf errors with opal_asprintf wrapper
The Open MPI code base assumed that asprintf always behaved like
the FreeBSD variant, where ptr is set to NULL on error.  However,
the C standard (and Linux) only guarantee that the return code will
be -1 on error and leave ptr undefined.  Rather than fix all the
usage in the code, we use opal_asprintf() wrapper instead, which
guarantees the BSD-like behavior of ptr always being set to NULL.
In addition to being correct, this will fix many, many warnings
in the Open MPI code base.

Signed-off-by: Brian Barrett <bbarrett@amazon.com>
2018-10-08 16:43:53 -07:00
..
help-shmem-runtime.txt Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
Makefile.am Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
oshmem_info_support.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
oshmem_info_support.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
oshmem_shmem_abort.c Use same prefix format for [host:pid] 2017-06-08 19:35:03 +09:00
oshmem_shmem_exchange.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
oshmem_shmem_finalize.c OMPI/OSHMEM: add new functionality of OpenSHMEM v1.4. 2018-07-16 12:55:25 -07:00
oshmem_shmem_init.c Miscellaneous compiler warning stomps. 2018-08-24 07:39:14 -07:00
oshmem_shmem_params.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
oshmem_shmem_preconnect.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
params.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
runtime.h OSHMEM/API/C11: fixed API macro 2018-08-22 11:16:15 +03:00