diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-01-08 15:53:32 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-01-08 15:53:32 (GMT) |
commit | be7ebb248fbe7d887b44b4aecbfe80f2517d53b1 (patch) | |
tree | df693260fe94f6a8d47968d4cbac66a9476ba841 /tools/h5repack/h5repack.c | |
parent | feaa5bb9d54017961e325f4bc2c366fc023c2443 (diff) | |
download | hdf5-be7ebb248fbe7d887b44b4aecbfe80f2517d53b1.zip hdf5-be7ebb248fbe7d887b44b4aecbfe80f2517d53b1.tar.gz hdf5-be7ebb248fbe7d887b44b4aecbfe80f2517d53b1.tar.bz2 |
[svn-r8040] Purpose:
bug fix, code improvment
Description:
fixed a bug in the parse of chunking function
added some auxiliary functions to avoid repeated parts of the code in several places
Solution:
Platforms tested:
linux
solaris
AIX
Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack.c')
-rw-r--r-- | tools/h5repack/h5repack.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c index 147b6db..a6a6989 100644 --- a/tools/h5repack/h5repack.c +++ b/tools/h5repack/h5repack.c @@ -178,8 +178,10 @@ int h5repack_addlayout(const char* str, obj_list_t *obj_list=NULL; /*one object list for the -t and -c option entry */ int n_objs; /*number of objects in the current -t or -c option entry */ - int j; pack_info_t pack; /*info about layout to extract from parse */ + int j; + + init_packobject(&pack); if (options->all_layout==1){ printf("Error: Invalid layout input: all option \ |