summaryrefslogtreecommitdiffstats
path: root/utils/tools/h5dwalk/h5dwalk.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-29 15:19:31 (GMT)
committerGitHub <noreply@github.com>2023-06-29 15:19:31 (GMT)
commitfd56a593b7928da636b2494b25cd7478fed78c29 (patch)
treeb815098d8bcf67f4290d3ca74132ce793503b94e /utils/tools/h5dwalk/h5dwalk.c
parent8aef67f0ae3e037df22c5319eb2eac8b95521b19 (diff)
downloadhdf5-fd56a593b7928da636b2494b25cd7478fed78c29.zip
hdf5-fd56a593b7928da636b2494b25cd7478fed78c29.tar.gz
hdf5-fd56a593b7928da636b2494b25cd7478fed78c29.tar.bz2
Remove HD from C std lib file ops (#3206)
* HDfclose * HDferror * HDfeof * HDfflush * HDfopen * HDfread * HDfwrite
Diffstat (limited to 'utils/tools/h5dwalk/h5dwalk.c')
-rw-r--r--utils/tools/h5dwalk/h5dwalk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/tools/h5dwalk/h5dwalk.c b/utils/tools/h5dwalk/h5dwalk.c
index c97861c..e8df52d 100644
--- a/utils/tools/h5dwalk/h5dwalk.c
+++ b/utils/tools/h5dwalk/h5dwalk.c
@@ -758,7 +758,7 @@ fill_file_list(mfu_flist new_flist, const char *config_filename, int myrank, int
char linebuf[PATH_MAX] = {
'\0',
};
- FILE *config = HDfopen(config_filename, "r");
+ FILE *config = fopen(config_filename, "r");
if (config == NULL)
return -1;
while (HDfgets(linebuf, sizeof(linebuf), config) != NULL) {
@@ -774,7 +774,7 @@ fill_file_list(mfu_flist new_flist, const char *config_filename, int myrank, int
}
linebuf[0] = 0;
}
- HDfclose(config);
+ fclose(config);
return index;
}
@@ -1257,7 +1257,7 @@ process_input_file(char *inputname, int myrank, int size)
char linebuf[PATH_MAX] = {
'\0',
};
- FILE *config = HDfopen(inputname, "r");
+ FILE *config = fopen(inputname, "r");
mfu_flist flist1 = NULL;
if (config == NULL)
@@ -1317,7 +1317,7 @@ process_input_file(char *inputname, int myrank, int size)
if (output_log_file) {
dh5tool_flist_write_text(output_log_file, flist1);
}
- HDfclose(config);
+ fclose(config);
mfu_flist_free(&flist1);
return 0;