summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2020-03-26 20:26:39 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2020-03-26 20:26:39 (GMT)
commit6d514db55a2e200c00a30edae3ec682dd6842eeb (patch)
treeab69fb79d96a91d6a22e7325f402b3be89857138 /tools
parentfa087c39199fccc1686b122e67b56e06c8fbe313 (diff)
downloadhdf5-6d514db55a2e200c00a30edae3ec682dd6842eeb.zip
hdf5-6d514db55a2e200c00a30edae3ec682dd6842eeb.tar.gz
hdf5-6d514db55a2e200c00a30edae3ec682dd6842eeb.tar.bz2
Replace usage of some standard library functions with HD- versions
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5tools.c4
-rw-r--r--tools/src/h5repack/h5repack_main.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index 57e537d..f38cf72 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -591,10 +591,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))) {