summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_main.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-03-23 19:32:59 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-03-23 19:32:59 (GMT)
commit8ed8520c19779f24d5d8018c9eb488aaad1c4d2d (patch)
treeec06fa50043b45f874769b7e7829212545dadb11 /tools/h5repack/h5repack_main.c
parent5a9a9e8f0ee8bee687c99bcc3a1b2414e10a9ba7 (diff)
downloadhdf5-8ed8520c19779f24d5d8018c9eb488aaad1c4d2d.zip
hdf5-8ed8520c19779f24d5d8018c9eb488aaad1c4d2d.tar.gz
hdf5-8ed8520c19779f24d5d8018c9eb488aaad1c4d2d.tar.bz2
[svn-r29537] Added "latest format" tests to h5copy and h5repack from revise_chunks.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 autotools serial cmake serial
Diffstat (limited to 'tools/h5repack/h5repack_main.c')
-rw-r--r--tools/h5repack/h5repack_main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/h5repack/h5repack_main.c b/tools/h5repack/h5repack_main.c
index 4361efe..c03b7a7 100644
--- a/tools/h5repack/h5repack_main.c
+++ b/tools/h5repack/h5repack_main.c
@@ -423,19 +423,19 @@ int parse_command_line(int argc, const char **argv, pack_opt_t* options) {
break;
case 'L':
- options->latest = 1;
+ options->latest = TRUE;
break;
case 'c':
options->grp_compact = HDatoi( opt_arg );
if (options->grp_compact > 0)
- options->latest = 1; /* must use latest format */
+ options->latest = TRUE; /* must use latest format */
break;
case 'd':
options->grp_indexed = HDatoi( opt_arg );
if (options->grp_indexed > 0)
- options->latest = 1; /* must use latest format */
+ options->latest = TRUE; /* must use latest format */
break;
case 's':
@@ -443,7 +443,7 @@ int parse_command_line(int argc, const char **argv, pack_opt_t* options) {
int idx = 0;
int ssize = 0;
char *msgPtr = HDstrchr( opt_arg, ':');
- options->latest = 1; /* must use latest format */
+ options->latest = TRUE; /* must use latest format */
if (msgPtr == NULL) {
ssize = HDatoi( opt_arg );
for (idx = 0; idx < 5; idx++)
@@ -579,7 +579,7 @@ int main(int argc, const char **argv) {
}
/* initialize options */
- h5repack_init(&options, 0, H5F_FILE_SPACE_DEFAULT, (hsize_t) 0);
+ h5repack_init(&options, 0, FALSE, H5F_FILE_SPACE_DEFAULT, (hsize_t) 0);
if (parse_command_line(argc, argv, &options) < 0)
goto done;