1
1
openmpi/ompi/mca/fs/base
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
..
base.h fs/base: move redundant code to fs/base 2018-07-01 10:20:32 -05:00
fs_base_file_close.c fs/base: move redundant code to fs/base 2018-07-01 10:20:32 -05:00
fs_base_file_delete.c MCA/IO/OMPIO: fix MPI_File_delete implementation. 2018-07-17 18:17:13 +02:00
fs_base_file_get_size.c fs/base: move redundant code to fs/base 2018-07-01 10:20:32 -05:00
fs_base_file_select.c ompio: misc renames 2018-06-14 09:41:10 +09:00
fs_base_file_set_size.c fs/base: move redundant code to fs/base 2018-07-01 10:20:32 -05:00
fs_base_file_sync.c fs/base: move redundant code to fs/base 2018-07-01 10:20:32 -05:00
fs_base_file_unselect.c ompio: misc renames 2018-06-14 09:41:10 +09:00
fs_base_find_available.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
fs_base_frame.c Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
fs_base_get_parent_dir.c ompi: cleanup various string operations 2018-10-14 16:10:20 -07:00
Makefile.am fs/base: move redundant code to fs/base 2018-07-01 10:20:32 -05:00
owner.txt Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00