1
1
openmpi/opal/mca/btl/base
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
..
base.h mca: add support for flag enumerators 2016-03-21 15:20:56 -06:00
btl_base_error.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
btl_base_error.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
btl_base_frame.c opal/btl: add support for flushing RDMA/atomic operations 2018-02-13 12:49:51 -07:00
btl_base_mca.c opal/btl: add support for flushing RDMA/atomic operations 2018-02-13 12:49:51 -07:00
btl_base_select.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
help-mpi-btl-base.txt help btl base: tell how to disable the warning 2017-02-09 15:51:30 -08:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
owner.txt Purge whitespace from the repo 2015-06-23 20:59:57 -07:00