1
1
openmpi/opal/mca/event/libevent2022
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
..
libevent scripted symbol name change (ompi_ prefix) 2017-07-11 02:13:23 -04:00
autogen.subdirs Update to libevent 2.0.22-stable 2015-01-06 16:37:25 -08:00
configure.m4 libevent2022/configure.m4: always invoke sub-configure 2018-08-11 06:03:46 -07:00
libevent2022_component.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
libevent2022_module.c scripted symbol name change (ompi_ prefix) 2017-07-11 02:13:23 -04:00
libevent2022.h pmix/pmix2x: fix errors in event abstration 2017-05-26 09:49:11 -06:00
Makefile.am event/libevent2022: cleanup dependencies to the embedded libevent lib 2016-11-07 14:57:52 +09:00
owner.txt add owner files to opa/ompi/orte mca directories 2015-02-22 15:10:23 -07:00