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/H5S.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/H5S.c')
-rw-r--r-- | src/H5S.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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, |