1
1
openmpi/opal/win32
Jeff Squyres 28e51ad4d4 opal: convert from strncpy() -> opal_string_copy()
In many cases, this was a simple string replace.  In a few places, it
entailed:

1. Updating some comments and removing now-redundant foo[size-1]='\0'
   statements.
2. Updating passing (size-1) to (size) (because opal_string_copy()
   wants the entire destination buffer length).

This commit actually fixes a bunch of potential (yet quite unlikely)
bugs where we could have ended up with non-null-terminated strings.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2018-09-27 11:56:18 -07:00
..
opal_inet.c Rename all the win32 files to use the correct layer name. 2014-07-26 20:17:09 +00:00
opal_inet.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_misc.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_process.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_process.h Rename all the win32 files to use the correct layer name. 2014-07-26 20:17:09 +00:00
opal_socket.c Rename all the win32 files to use the correct layer name. 2014-07-26 20:17:09 +00:00
opal_socket.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_time.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_time.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_uio.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_uio.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
opal_util.h Rename all the win32 files to use the correct layer name. 2014-07-26 20:17:09 +00:00
opal_utsname.c opal: convert from strncpy() -> opal_string_copy() 2018-09-27 11:56:18 -07:00
opal_utsname.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
win_compat.h opal: convert from strncpy() -> opal_string_copy() 2018-09-27 11:56:18 -07:00