1
1
openmpi/ompi/debuggers
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
..
debuggers.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
dlopen_test.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
Makefile.am Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
MPI_Handles_interface.txt Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
mpihandles_interface.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
msgq_interface.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
ompi_common_dll_defs.h ompi/debuggers: make the binary bit reproducible 2016-12-08 13:46:43 +09:00
ompi_common_dll.c ompi/debuggers: make the binary bit reproducible 2016-12-08 13:46:43 +09:00
ompi_debugger_canary.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
ompi_debuggers.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
ompi_mpihandles_dll_defs.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
ompi_mpihandles_dll.c Major structural changes to data types: .super infosubscriber 2017-05-12 14:41:05 -04:00
ompi_msgq_dll_defs.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
ompi_msgq_dll.c misc: compiler warning fixes 2018-09-15 06:04:13 -07:00
predefined_gap_test.c fixes for Dave's get/set info code 2017-05-17 01:12:49 -04:00
predefined_pad_test.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
tv-debugger-attach.txt Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00