diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-05-28 21:31:57 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-05-28 21:31:57 (GMT) |
commit | 358f18543f999e4ffbe85b04789f0ac9b35d808c (patch) | |
tree | 0b6befba5d637c794d0c54d02b75484c64c096f2 /tools/lib | |
parent | fc6f3e165087f272a37b86307b329cb6281b9798 (diff) | |
download | hdf5-358f18543f999e4ffbe85b04789f0ac9b35d808c.zip hdf5-358f18543f999e4ffbe85b04789f0ac9b35d808c.tar.gz hdf5-358f18543f999e4ffbe85b04789f0ac9b35d808c.tar.bz2 |
[svn-r16991] change messages of -c option
tested: windows, linux
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/h5diff_dset.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/lib/h5diff_dset.c b/tools/lib/h5diff_dset.c index bbfa351..7f2a80a 100644 --- a/tools/lib/h5diff_dset.c +++ b/tools/lib/h5diff_dset.c @@ -267,7 +267,7 @@ hsize_t diff_datasetid( hid_t did1, if (storage_size1==0 || storage_size2==0) { if ( (options->m_verbose||options->m_list_not_cmp) && obj1_name && obj2_name) - parallel_print("Not comparable: <%s> or <%s> are empty datasets\n", obj1_name, obj2_name); + parallel_print("Not comparable: <%s> or <%s> is an empty dataset\n", obj1_name, obj2_name); can_compare=0; options->not_cmp=1; } @@ -788,6 +788,7 @@ int diff_can_type( hid_t f_tid1, /* file data type */ *------------------------------------------------------------------------- */ + if ( rank1 != rank2 ) { @@ -798,7 +799,7 @@ int diff_can_type( hid_t f_tid1, /* file data type */ parallel_print(", max dimensions "); print_dimensions(rank1,maxdim1); parallel_print("\n" ); - parallel_print("<%s> has rank %d, dimensions ", obj2_name, rank2); + parallel_print("and <%s> has rank %d, dimensions ", obj2_name, rank2); print_dimensions(rank2,dims2); parallel_print(", max dimensions "); print_dimensions(rank2,maxdim2); @@ -843,7 +844,7 @@ int diff_can_type( hid_t f_tid1, /* file data type */ parallel_print(", max dimensions "); print_dimensions(rank1,maxdim1); parallel_print("\n" ); - parallel_print("<%s> has rank %d, dimensions ", obj2_name, rank2); + parallel_print("and <%s> has rank %d, dimensions ", obj2_name, rank2); print_dimensions(rank2,dims2); parallel_print(", max dimensions "); print_dimensions(rank2,maxdim2); |