diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2012-04-11 20:57:10 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2012-04-11 20:57:10 (GMT) |
commit | 10b62203a35c9107f8b62e3026b4b31895554b7d (patch) | |
tree | e5f2e30c69c410362f47ddf1fee215eb328fa807 /tools/h5repack/h5repack.h | |
parent | 50445538758d3687acfb2837e595bc68b294ac7b (diff) | |
download | hdf5-10b62203a35c9107f8b62e3026b4b31895554b7d.zip hdf5-10b62203a35c9107f8b62e3026b4b31895554b7d.tar.gz hdf5-10b62203a35c9107f8b62e3026b4b31895554b7d.tar.bz2 |
[svn-r22277] 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#.
Tested:
jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), 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 3907178..69e36fc 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 |