diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-08-25 22:35:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-25 22:35:34 (GMT) |
commit | 8f3878de399538d5848f8ba0b98aefe0c77c8a9a (patch) | |
tree | 113e1362eb1ef3fd0e25315961ad0858d77d5c76 /tools/src/h5repack/h5repack_main.c | |
parent | f415d6f839f35d595b77483e0788e76c652b7520 (diff) | |
download | hdf5-8f3878de399538d5848f8ba0b98aefe0c77c8a9a.zip hdf5-8f3878de399538d5848f8ba0b98aefe0c77c8a9a.tar.gz hdf5-8f3878de399538d5848f8ba0b98aefe0c77c8a9a.tar.bz2 |
1.10 Merge of tools perform reorg and command line args (#960)
* Merge of tools perform reorg and command line args
Also sync tools change with 1.12
* Add missing file
Diffstat (limited to 'tools/src/h5repack/h5repack_main.c')
-rw-r--r-- | tools/src/h5repack/h5repack_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/src/h5repack/h5repack_main.c b/tools/src/h5repack/h5repack_main.c index 13184a5..e4fa10d 100644 --- a/tools/src/h5repack/h5repack_main.c +++ b/tools/src/h5repack/h5repack_main.c @@ -337,7 +337,7 @@ read_info(const char *filename, pack_opt_t *options) /* cycle until end of file reached */ while (1) { - if (EOF == fscanf(fp, "%9s", stype)) + if (EOF == HDfscanf(fp, "%9s", stype)) break; /* Info indicator must be for layout or filter */ @@ -352,7 +352,7 @@ read_info(const char *filename, pack_opt_t *options) i = 0; c = '0'; while (c != ' ') { - if (fscanf(fp, "%c", &c) < 0 && HDferror(fp)) { + if (HDfscanf(fp, "%c", &c) < 0 && HDferror(fp)) { error_msg("fscanf error\n"); h5tools_setstatus(EXIT_FAILURE); ret_value = EXIT_FAILURE; @@ -364,7 +364,7 @@ read_info(const char *filename, pack_opt_t *options) c = '0'; /* go until end */ while (c != ' ') { - if (fscanf(fp, "%c", &c) < 0 && HDferror(fp)) { + if (HDfscanf(fp, "%c", &c) < 0 && HDferror(fp)) { error_msg("fscanf error\n"); h5tools_setstatus(EXIT_FAILURE); ret_value = EXIT_FAILURE; |