diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-03-11 18:36:10 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-03-11 18:36:10 (GMT) |
commit | 85de8af63da9b0e7bd8c898323b94048afae0782 (patch) | |
tree | f8b76cb097d07a26bd9c078c8bfee1d00994125c /tools/h5import/h5import.c | |
parent | 43869db5239e366e79d3909d9387cb7998cac1d6 (diff) | |
download | hdf5-85de8af63da9b0e7bd8c898323b94048afae0782.zip hdf5-85de8af63da9b0e7bd8c898323b94048afae0782.tar.gz hdf5-85de8af63da9b0e7bd8c898323b94048afae0782.tar.bz2 |
[svn-r16568] #1462 By selecting a compression type, a big endian byte order was being selected.
When reading the compression parameter keyword, the compression type read flag was incorrectly set to read, removed this line of code
in->configOptionVector[COMPRESS] = 1;
Modified one configuration file to have the COMPRESSION-TYPE GZIP
Keyword.
Entered a bug description fix of
- h5import: By selecting a compression type, a big endian byte order was being
selected (PVN - 2009/11/3)
tested: linux
Diffstat (limited to 'tools/h5import/h5import.c')
-rwxr-xr-x | tools/h5import/h5import.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5import/h5import.c b/tools/h5import/h5import.c index 89d14f9..933754e 100755 --- a/tools/h5import/h5import.c +++ b/tools/h5import/h5import.c @@ -1437,7 +1437,7 @@ processConfigurationFile(char *infile, struct Input *in, FILE **strm) if (in->configOptionVector[COMPRESS] == 0) in->compressionType = 0; - in->configOptionVector[COMPRESS] = 1; + break; case 12: /* EXTERNAL-STORAGE */ @@ -1990,7 +1990,7 @@ getCompressionType(struct Input *in, FILE** strm) return (-1); } - in->outputByteOrder = kindex; + in->compressionType = kindex; return (0); } |