diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2012-04-11 22:31:31 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2012-04-11 22:31:31 (GMT) |
commit | f6fded4394644a3ea41dd3ca4bd659f9b5c4af15 (patch) | |
tree | 6d1be60f806bbf306b6c17afbcdd2ef4f1577d26 /tools/h5repack/h5repack.h | |
parent | 0627a640846494f56d585e23479cef2da91d19ce (diff) | |
download | hdf5-f6fded4394644a3ea41dd3ca4bd659f9b5c4af15.zip hdf5-f6fded4394644a3ea41dd3ca4bd659f9b5c4af15.tar.gz hdf5-f6fded4394644a3ea41dd3ca4bd659f9b5c4af15.tar.bz2 |
[svn-r22281] Purpose:
Fix for HDFFV-7993 - h5repack fails with error "chunk size must be <= maximum dimension size for fixed-sized dimensions"
Description:
Fixed a failure when change the chunk size of a specified chunked dataset with unlimited max dims.
Also took care of converting to contiguous and compact from the dataset.
Test cases were added and tagged with jira#.
Merged from HDF5 trunk r22277.
Tested:
jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), Windows (32-LE cmake), Cmake (jam)
Diffstat (limited to 'tools/h5repack/h5repack.h')
-rw-r--r-- | tools/h5repack/h5repack.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/h5repack/h5repack.h b/tools/h5repack/h5repack.h index 4c43bd4..81a883d 100644 --- a/tools/h5repack/h5repack.h +++ b/tools/h5repack/h5repack.h @@ -28,6 +28,7 @@ #define MAX_VAR_DIMS 32 /* max per variable dimensions */ #define FORMAT_OBJ " %-27s %s\n" /* obj type, name */ #define FORMAT_OBJ_ATTR " %-27s %s\n" /* obj type, name */ +#define MAX_COMPACT_DSIZE 64512 /* max data size for compact layout. -1k for header size */ /*------------------------------------------------------------------------- * data structures for command line options |