diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-08-28 18:32:01 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-08-28 18:32:01 (GMT) |
commit | d8ec4df92880d98907b12af8fc9fff86e0631270 (patch) | |
tree | c2ed10db6ddf23bc4f366260cdf5cf7663ae47be /java/src/jni/h5pImp.c | |
parent | ebc3d3eda5b9e5c3090322e19898e47141efeadd (diff) | |
download | hdf5-d8ec4df92880d98907b12af8fc9fff86e0631270.zip hdf5-d8ec4df92880d98907b12af8fc9fff86e0631270.tar.gz hdf5-d8ec4df92880d98907b12af8fc9fff86e0631270.tar.bz2 |
Update system commands with HD prefix and whitespace
Diffstat (limited to 'java/src/jni/h5pImp.c')
-rw-r--r-- | java/src/jni/h5pImp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/jni/h5pImp.c b/java/src/jni/h5pImp.c index e6d1be8..52008ce 100644 --- a/java/src/jni/h5pImp.c +++ b/java/src/jni/h5pImp.c @@ -3881,7 +3881,7 @@ Java_hdf_hdf5lib_H5_H5Pset_1fapl_1multi const char *utf8 = ENVPTR->GetStringUTFChars(ENVPAR obj, 0); if (utf8) { - member_name[i] = (char*)HDmalloc(strlen(utf8) + 1); + member_name[i] = (char*)HDmalloc(HDstrlen(utf8) + 1); if (member_name[i]) { strcpy(member_name[i], utf8); } /* end if */ @@ -4189,7 +4189,7 @@ Java_hdf_hdf5lib_H5_H5Pset_1mdc_1config h5JNIFatalError(env, "H5Pset_mdc_config: out of memory trace_file_name"); return; } /* end if */ - strncpy(cacheinfo.trace_file_name, str, 1025); + HDstrncpy(cacheinfo.trace_file_name, str, 1025); ENVPTR->ReleaseStringUTFChars(ENVPAR j_str, str); if(ENVPTR->ExceptionOccurred(ENVONLY)) { h5JNIFatalError(env, "H5Pset_mdc_config: loading trace_file_name failed"); |