1
1
openmpi/oshmem
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
..
include OSHMEM/C11: removed unused macro 2018-08-22 17:37:31 +03:00
info Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
mca Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
op SHMEM/ATOMIC: refactoring of module API 2018-07-04 14:40:14 +03:00
proc oshmem: refactor group cache 2018-02-22 11:48:06 +02:00
request Fix the OSHMEM request padding. 2017-06-01 18:30:02 -04:00
runtime Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
shmem shmem/lock: progress communications while waiting for shmem_lock 2018-09-16 18:46:36 +03:00
tools Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
util Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
Makefile.am build: Custom libmpi(_FOO) name option in configure 2016-09-29 21:47:24 -05:00