1
1
openmpi/opal/mca/btl/tcp
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_tcp_addr.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
btl_tcp_component.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
btl_tcp_endpoint.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
btl_tcp_endpoint.h Btl Tcp: Updated tcp handshake methods 2017-08-18 10:06:52 -07:00
btl_tcp_frag.c Handle error cases in TCP BTL 2018-08-14 15:35:24 -04:00
btl_tcp_frag.h A first cut at the large data problem with TCP. As long 2017-09-01 18:52:48 -04:00
btl_tcp_ft.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
btl_tcp_ft.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
btl_tcp_hdr.h Update the copyright and cleanup the code. 2016-03-28 14:41:01 -04:00
btl_tcp_proc.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
btl_tcp_proc.h Remove the tcp_local field from the TCP component. 2017-01-07 13:24:18 -05:00
btl_tcp.c Merge pull request #5700 from ICLDisco/export/tcp_errors 2018-09-19 09:44:38 -04:00
btl_tcp.h tcp btl: Fix multiple-link connection establishment. 2018-02-27 16:36:44 +00:00
configure.m4 m4: rename OMPI_SUMMARY_* macros to OPAL_SUMMARY_* 2016-04-20 08:40:00 -07:00
help-mpi-btl-tcp.txt btl/tcp: roll back parts of 40afd525f8 2018-04-07 12:28:10 -07: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