summaryrefslogtreecommitdiffstats
path: root/src/H5S.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-07-10 17:54:19 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-07-10 17:54:19 (GMT)
commitb7f334adb4acec6ff0171b8dda6f9873d8c67bb5 (patch)
tree74e271bf28a0277206d4d438d9752fa50a6794a8 /src/H5S.c
parentf87dbef4ca00da7bb9b89faf3d982156878c600d (diff)
downloadhdf5-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/H5S.c')
-rw-r--r--src/H5S.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/H5S.c b/src/H5S.c
index 10e476b..201bcae 100644
--- a/src/H5S.c
+++ b/src/H5S.c
@@ -1048,15 +1048,6 @@ H5Sset_extent_simple (hid_t sid, int rank, const hsize_t *dims,
if (rank<0) {
HRETURN_ERROR (H5E_ARGS, H5E_BADVALUE, FAIL, "invalid rank");
}
- if (dims) {
- for (u=0; u<rank; u++) {
- if (((max!=NULL && max[u]!=H5S_UNLIMITED) || max==NULL) &&
- dims[u]==0) {
- HRETURN_ERROR (H5E_ARGS, H5E_BADVALUE, FAIL,
- "invalid dimension size");
- }
- }
- }
if (max!=NULL) {
if(dims==NULL) {
HRETURN_ERROR (H5E_ARGS, H5E_BADVALUE, FAIL,