1
1
openmpi/ompi/communicator
Jeff Squyres 54ca3310ea ompi: cleanup various string operations
Several fixes to string handling:

1. strncpy() -> opal_string_copy() (because opal_string_copy()
   guarantees to NULL-terminate, and strncpy() does not)
2. Simplify a few places, such as:
   * Since opal_string_copy() guarantees to NULL terminate, eliminate
     some memsets(), etc.
   * Use opal_asprintf() to eliminate multi-step string creation

There's more work that could be done; e.g., this commit doesn't
attempt to clean up any strcpy() usage.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2018-10-14 16:10:20 -07:00
..
comm_cid.c Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
comm_init.c ompi: cleanup various string operations 2018-10-14 16:10:20 -07:00
comm_request.c opal: add types for atomic variables 2018-09-14 10:48:55 -06:00
comm_request.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
comm.c ompi: cleanup various string operations 2018-10-14 16:10:20 -07:00
communicator.h communicator/comm_init.c: add a new flag indicating binding policy 2017-08-15 09:50:41 -05:00
Makefile.am ompi: clean up topo helper functions 2017-07-17 10:30:42 -05:00