summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2003-10-23 19:51:51 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2003-10-23 19:51:51 (GMT)
commitcf86beb9832c21db179fad5bb00f93bf413481cd (patch)
treec2f09c688ee1dc886e31c5bbef5249ea1af6dbf2 /tools/h5repack/h5repack.c
parentf4c4923193a14899b342e4ce37153b296ecd02db (diff)
downloadhdf5-cf86beb9832c21db179fad5bb00f93bf413481cd.zip
hdf5-cf86beb9832c21db179fad5bb00f93bf413481cd.tar.gz
hdf5-cf86beb9832c21db179fad5bb00f93bf413481cd.tar.bz2
[svn-r7717] Purpose:
new features of h5repack Description: added copy routine added parsing of command line arguments Platforms tested: linux, solaris, IRIX Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack.c')
-rw-r--r--tools/h5repack/h5repack.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c
index af267ee..d88196c 100644
--- a/tools/h5repack/h5repack.c
+++ b/tools/h5repack/h5repack.c
@@ -59,6 +59,9 @@ int h5repack(char* infile,
if (options->verbose)
printf("Making file <%s>...\n",outfile);
+
+ if (copy_file(infile,outfile,options)<0)
+ return -1;
}