1
1
openmpi/opal/dss
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
..
dss_compare.c Update ORTE to support PMIx v3 2018-03-02 02:00:31 -08:00
dss_copy.c Update ORTE to support PMIx v3 2018-03-02 02:00:31 -08:00
dss_dump.c Merge the ORTE devel branch into the main trunk. Details of what this means will be circulated separately. 2008-02-28 01:57:57 +00:00
dss_internal_functions.c Something not quite right about the revised allocation algos, so revert them while retaining the larger initial and threshold sizes 2017-01-21 14:37:45 -08:00
dss_internal.h Update ORTE to support PMIx v3 2018-03-02 02:00:31 -08:00
dss_load_unload.c Update ORTE to support PMIx v3 2018-03-02 02:00:31 -08:00
dss_lookup.c Merge the ORTE devel branch into the main trunk. Details of what this means will be circulated separately. 2008-02-28 01:57:57 +00:00
dss_open_close.c Update ORTE to support PMIx v3 2018-03-02 02:00:31 -08:00
dss_pack.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
dss_peek.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
dss_print.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
dss_register.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
dss_types.h Update ORTE to support PMIx v3 2018-03-02 02:00:31 -08:00
dss_unpack.c Update ORTE to support PMIx v3 2018-03-02 02:00:31 -08:00
dss.h Fully support OMPI spawn options. Fix a bug in the round-robin mappers where we weren't adding nodes to the job map node array, and so resources were not released 2017-09-21 10:29:27 -07:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00