1
1
openmpi/opal/runtime
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
..
help-opal_info.txt Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
help-opal-runtime.txt Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_cr.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
opal_cr.h scripted symbol name change (ompi_ prefix) 2017-07-11 02:13:23 -04:00
opal_finalize.c reachable: Initialize / Finalize reachable framework 2017-09-19 19:42:54 -07:00
opal_info_support.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
opal_info_support.h opal_info: Add ability to report load failures 2017-04-12 16:06:21 -05:00
opal_init.c timings: added new timing points 2018-03-21 05:16:25 +02:00
opal_params.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
opal_params.h cuda: add option to remove warning about missing libcuda. 2018-05-24 14:56:46 -07:00
opal_progress_threads.c opal_progress_threads: fix double RELEASE 2015-08-12 05:11:40 -07:00
opal_progress_threads.h opal_progress_thread: fix stale comment 2015-10-14 18:25:31 -07:00
opal_progress.c opal: fix warning 2018-09-21 00:51:40 -06:00
opal_progress.h bml/r2: always add btl progress function 2016-05-21 15:54:04 -04:00
opal.h PSM/PSM2: Disable signal handler hijacking by default 2016-06-14 11:45:23 -07:00