1
1
openmpi/test
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
..
asm opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
carto Misc. trivial typos 2018-04-09 11:45:58 -04:00
class Fixing 'make check' test opal_fifo. 2018-05-03 21:31:27 -05:00
datatype test/ddt_lib: remove UB/LB tests 2018-05-31 09:44:19 -06:00
dss Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
event Misc. trivial typos 2018-04-09 11:45:58 -04:00
memchecker Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
monitoring Misc. trivial typos 2018-04-09 11:45:58 -04:00
mpi Misc. trivial typos 2018-04-09 11:45:58 -04:00
mpool mpool/memkind: refactor to use the current API 2018-04-24 22:11:21 -06:00
runtime Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
spc Added Software-based Performance Counters driver code along with several counters. 2018-06-11 22:48:16 -04:00
support Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
threads opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
util Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
Makefile.am Merge pull request #4885 from davideberius/spc_pr 2018-06-12 14:04:49 -07:00