diff options
author | Jordan Henderson <jhenderson@hdfgroup.org> | 2020-03-26 20:26:39 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:56 (GMT) |
commit | 1da485552833f8417dd0057d2daf6ece9851e412 (patch) | |
tree | a1ba429000415fcbef23bb59c9e37ef84e1950f1 /tools | |
parent | 254388494a8e5568bfba5ddaf7eb01cba6b2e736 (diff) | |
download | hdf5-1da485552833f8417dd0057d2daf6ece9851e412.zip hdf5-1da485552833f8417dd0057d2daf6ece9851e412.tar.gz hdf5-1da485552833f8417dd0057d2daf6ece9851e412.tar.bz2 |
Replace usage of some standard library functions with HD- versions
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lib/h5tools.c | 4 | ||||
-rw-r--r-- | tools/src/h5repack/h5repack_main.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c index 4f9328e..f0d22ef 100644 --- a/tools/lib/h5tools.c +++ b/tools/lib/h5tools.c @@ -644,10 +644,10 @@ h5tools_set_vol_fapl(hid_t fapl, h5tools_get_fapl_info_t *get_info) } else { /* Check for VOL connectors that ship with the library */ - if (!strcmp(get_info->u.name, H5VL_NATIVE_NAME)) { + if (!HDstrcmp(get_info->u.name, H5VL_NATIVE_NAME)) { connector_id = H5VL_NATIVE; } - else if (!strcmp(get_info->u.name, H5VL_PASSTHRU_NAME)) { + else if (!HDstrcmp(get_info->u.name, H5VL_PASSTHRU_NAME)) { connector_id = H5VL_PASSTHRU; } else { diff --git a/tools/src/h5repack/h5repack_main.c b/tools/src/h5repack/h5repack_main.c index 50b6a92..44b4b6c 100644 --- a/tools/src/h5repack/h5repack_main.c +++ b/tools/src/h5repack/h5repack_main.c @@ -438,8 +438,8 @@ int parse_command_line(int argc, const char **argv, pack_opt_t* options) int bound, opt; int ret_value = 0; - memset(&get_in_vol_info, 0, sizeof(h5tools_get_fapl_info_t)); - memset(&get_out_vol_info, 0, sizeof(h5tools_get_fapl_info_t)); + HDmemset(&get_in_vol_info, 0, sizeof(h5tools_get_fapl_info_t)); + HDmemset(&get_out_vol_info, 0, sizeof(h5tools_get_fapl_info_t)); /* parse command line options */ while (EOF != (opt = get_option(argc, argv, s_opts, l_opts))) { |