summaryrefslogtreecommitdiffstats
path: root/src/H5Sselect.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-12-31 19:19:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-12-31 19:19:18 (GMT)
commit7bcc111c2b0db85b21c229dcf1e1f7a82f27b2fc (patch)
tree44c5a5f57689a65989e1d84504688b3db981fd31 /src/H5Sselect.c
parent738e808d262a79d43a4697bb731c5d2961a006a2 (diff)
downloadhdf5-7bcc111c2b0db85b21c229dcf1e1f7a82f27b2fc.zip
hdf5-7bcc111c2b0db85b21c229dcf1e1f7a82f27b2fc.tar.gz
hdf5-7bcc111c2b0db85b21c229dcf1e1f7a82f27b2fc.tar.bz2
[svn-r8000] 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 422e9ed..3128cb8 100644
--- a/src/H5Sselect.c
+++ b/src/H5Sselect.c
@@ -1205,6 +1205,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