1
1
openmpi/ompi/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-mpi-runtime.txt Added Software-based Performance Counters driver code along with several counters. 2018-06-11 22:48:16 -04:00
Makefile.am Added Software-based Performance Counters driver code along with several counters. 2018-06-11 22:48:16 -04:00
mpiruntime.h opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
ompi_cr.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
ompi_cr.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
ompi_info_support.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
ompi_info_support.h tools: Add oshmem_info utility 2013-10-12 19:03:32 +00:00
ompi_mpi_abort.c mpi/finalized: revamp INITIALIZED/FINALIZED 2018-06-01 13:36:29 -07:00
ompi_mpi_dynamics.c mpi: infrastructure to gracefully disable MPI dyn procs 2015-10-14 13:42:56 -07:00
ompi_mpi_finalize.c pmix: added check for pmix fence status 2018-08-06 15:01:57 +06:00
ompi_mpi_init.c Merge pull request #5445 from hjelmn/asm_type 2018-09-14 12:32:56 -06:00
ompi_mpi_params.c Added Software-based Performance Counters driver code along with several counters. 2018-06-11 22:48:16 -04:00
ompi_mpi_preconnect.c ompi: use ompi_coll_base_sendrecv_actual() whenever possible 2017-04-20 10:01:28 +09:00
ompi_spc.c opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
ompi_spc.h opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
params.h Added Software-based Performance Counters driver code along with several counters. 2018-06-11 22:48:16 -04:00