summaryrefslogtreecommitdiffstats
path: root/src/H5Sselect.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-12-31 19:19:19 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-12-31 19:19:19 (GMT)
commit1d913177a81a726ffc110cc8d653306d901f3c2f (patch)
tree29e9b4368bfaaffd26b7025218981dce65ae19a8 /src/H5Sselect.c
parentd765a024ea86a828cf648ba593ce1e6b29b7aecd (diff)
downloadhdf5-1d913177a81a726ffc110cc8d653306d901f3c2f.zip
hdf5-1d913177a81a726ffc110cc8d653306d901f3c2f.tar.gz
hdf5-1d913177a81a726ffc110cc8d653306d901f3c2f.tar.bz2
[svn-r8001] Purpose:
Bug fix Description: Fixed bug in hyperslab iteration where certain combinations of flattened and non-flattened dimensions would cause incorrect locations to be iterated over. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
Diffstat (limited to 'src/H5Sselect.c')
-rw-r--r--src/H5Sselect.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/H5Sselect.c b/src/H5Sselect.c
index 8dd9192..6eac242 100644
--- a/src/H5Sselect.c
+++ b/src/H5Sselect.c
@@ -1239,6 +1239,24 @@ HDfprintf(stderr,"%s: Entering\n",FUNC);
unsigned first_block=1; /* Flag to indicate the first block */
#ifdef QAK
HDfprintf(stderr,"%s: Check 10.0\n",FUNC);
+HDfprintf(stderr,"%s: space1 selection type=%d\n",FUNC,(int)space1->select.type);
+if(space1->select.sel_info.hslab.span_lst) {
+ HDfprintf(stderr,"%s: Dumping space1 span list\n",FUNC);
+ H5S_hyper_print_spans(stderr,space1->select.sel_info.hslab.span_lst);
+} /* end if */
+else {
+ HDfprintf(stderr,"%s: Dumping space1 diminfo\n",FUNC);
+ H5S_hyper_print_diminfo(stderr,space1);
+} /* end else */
+HDfprintf(stderr,"%s: space2 selection type=%d\n",FUNC,(int)space2->select.type);
+if(space2->select.sel_info.hslab.span_lst) {
+ HDfprintf(stderr,"%s: Dumping space2 span list\n",FUNC);
+ H5S_hyper_print_spans(stderr,space2->select.sel_info.hslab.span_lst);
+} /* end if */
+else {
+ HDfprintf(stderr,"%s: Dumping space2 diminfo\n",FUNC);
+ H5S_hyper_print_diminfo(stderr,space2);
+} /* end else */
#endif /* QAK */
/* Initialize iterator for each dataspace selection