diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-07-10 17:54:19 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-07-10 17:54:19 (GMT) |
commit | b7f334adb4acec6ff0171b8dda6f9873d8c67bb5 (patch) | |
tree | 74e271bf28a0277206d4d438d9752fa50a6794a8 /src/H5D.c | |
parent | f87dbef4ca00da7bb9b89faf3d982156878c600d (diff) | |
download | hdf5-b7f334adb4acec6ff0171b8dda6f9873d8c67bb5.zip hdf5-b7f334adb4acec6ff0171b8dda6f9873d8c67bb5.tar.gz hdf5-b7f334adb4acec6ff0171b8dda6f9873d8c67bb5.tar.bz2 |
[svn-r480] Fixed an ugly bug by teaching the recursive hyperslab I/O code how to resume
when a buffer gets full. Also removed the check for disallowing zero-dim
extents on unlimited dimension datasets, per user's request.
Diffstat (limited to 'src/H5D.c')
-rw-r--r-- | src/H5D.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1420,8 +1420,7 @@ printf("%s: check 4.0, nelmts=%d, need_bkg=%d\n",FUNC,(int)nelmts,(int)need_bkg) /* Start strip mining... */ for (smine_start=0; smine_start<nelmts; smine_start+=smine_nelmts) { /* Go figure out how many elements to read from the file */ - smine_nelmts = (sconv_func.favail)(file_space,&file_iter, - MIN(request_nelmts,(nelmts-smine_start))); + smine_nelmts = (sconv_func.favail)(file_space,&file_iter, MIN(request_nelmts,(nelmts-smine_start))); #ifdef QAK printf("%s: check 5.0, nelmts=%d, smine_start=%d, smine_nelmts=%d\n",FUNC,(int)nelmts,(int)smine_start,(int)smine_nelmts); #endif /* QAK */ @@ -1745,8 +1744,7 @@ printf("%s: check 4.0, nelmts=%d, need_bkg=%d\n",FUNC,(int)nelmts,(int)need_bkg) /* Start strip mining... */ for (smine_start=0; smine_start<nelmts; smine_start+=smine_nelmts) { /* Go figure out how many elements to read from the file */ - smine_nelmts = (sconv_func.favail)(file_space,&file_iter, - MIN(request_nelmts,(nelmts-smine_start))); + smine_nelmts = (sconv_func.favail)(file_space,&file_iter, MIN(request_nelmts,(nelmts-smine_start))); #ifdef QAK printf("%s: check 5.0, nelmts=%d, smine_start=%d, smine_nelmts=%d\n",FUNC,(int)nelmts,(int)smine_start,(int)smine_nelmts); #endif /* QAK */ |