1
1
openmpi/opal/mca/btl/ugni
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
..
btl_ugni_add_procs.c btl/ugni: improve multi-threaded RDMA performance 2018-06-26 11:31:35 -06:00
btl_ugni_atomic.c btl/ugni: improve multi-threaded RDMA performance 2018-06-26 11:31:35 -06:00
btl_ugni_component.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
btl_ugni_device.h btl/ugni: fix up some warnings 2018-07-03 16:30:44 -06:00
btl_ugni_endpoint.c btl/ugni: improve multi-threaded RDMA performance 2018-06-26 11:31:35 -06:00
btl_ugni_endpoint.h opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
btl_ugni_frag.c btl/ugni: improve multi-threaded RDMA performance 2018-06-26 11:31:35 -06:00
btl_ugni_frag.h opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
btl_ugni_get.c btl/ugni: swat compiler warning 2017-08-01 12:21:57 -06:00
btl_ugni_init.c btl/ugni: improve multi-threaded RDMA performance 2018-06-26 11:31:35 -06:00
btl_ugni_module.c btl/ugni: fix up some warnings 2018-07-03 16:30:44 -06:00
btl_ugni_prepare.h btl/ugni: improve multi-threaded performance 2017-03-13 14:46:06 -06:00
btl_ugni_progress_thread.c btl/ugni: improve multi-threaded performance 2017-03-13 14:46:06 -06:00
btl_ugni_put.c btl/ugni: improve multi-threaded performance 2017-03-13 14:46:06 -06:00
btl_ugni_rdma.h btl/ugni: fix up some warnings 2018-07-03 16:30:44 -06:00
btl_ugni_send.c btl/ugni: remove erroneous mca_btl_ugni_frag_return call 2017-04-27 09:14:51 -06:00
btl_ugni_smsg.c btl/ugni: improve multi-threaded RDMA performance 2018-06-26 11:31:35 -06:00
btl_ugni_smsg.h btl/ugni: improve multi-threaded RDMA performance 2018-06-26 11:31:35 -06:00
btl_ugni.h opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
configure.m4 George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-) 2014-07-26 00:47:28 +00:00
Makefile.am mca: Dynamic components link against project lib 2017-08-24 11:56:16 -04:00
owner.txt add owner files to opa/ompi/orte mca directories 2015-02-22 15:10:23 -07:00