1
1
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
..
2017-05-17 01:12:49 -04:00
2018-07-14 14:14:37 +09:00
2018-07-14 14:14:37 +09:00
2018-03-26 14:21:21 -07:00
2018-07-14 14:14:37 +09:00
2017-05-17 01:12:49 -04:00
2018-07-14 14:14:37 +09:00
2018-07-14 14:14:37 +09:00
2017-08-22 08:56:40 -07:00
2017-05-17 01:12:49 -04:00
2017-05-17 01:12:49 -04:00
2018-07-14 14:14:37 +09:00
2017-03-18 15:08:59 -05:00