From 1da485552833f8417dd0057d2daf6ece9851e412 Mon Sep 17 00:00:00 2001 From: Jordan Henderson Date: Thu, 26 Mar 2020 15:26:39 -0500 Subject: Replace usage of some standard library functions with HD- versions --- tools/lib/h5tools.c | 4 ++-- 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))) { -- cgit v0.12