diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-03-30 08:52:21 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-03-30 08:52:21 (GMT) |
commit | c36b707578211b2aa193454625955d53546780ef (patch) | |
tree | 1920da1c90cc6d3a7d708f4214e754b9acd9b95d /tools/src/h5repack/h5repack_main.c | |
parent | 36e8e2be4bcb55dc0569a1ce502b055d3ed380f8 (diff) | |
parent | 9676029742f18aaae37dd48947bc1faf23406169 (diff) | |
download | hdf5-c36b707578211b2aa193454625955d53546780ef.zip hdf5-c36b707578211b2aa193454625955d53546780ef.tar.gz hdf5-c36b707578211b2aa193454625955d53546780ef.tar.bz2 |
Merge branch 'tools_vol_update' of https://bitbucket.hdfgroup.org/scm/~derobins/hdf5_der into tools_vol_update
Diffstat (limited to 'tools/src/h5repack/h5repack_main.c')
-rw-r--r-- | tools/src/h5repack/h5repack_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/src/h5repack/h5repack_main.c b/tools/src/h5repack/h5repack_main.c index 44b4b6c..f0a94ab 100644 --- a/tools/src/h5repack/h5repack_main.c +++ b/tools/src/h5repack/h5repack_main.c @@ -311,6 +311,8 @@ int read_info(const char *filename, pack_opt_t *options) /* cycle until end of file reached */ while (1) { + if (EOF == fscanf(fp, "%9s", stype)) + break; /* Info indicator must be for layout or filter */ if (HDstrcmp(stype,"-l") && HDstrcmp(stype, "-f")) { |