summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-04-14 17:26:37 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-04-14 17:26:37 (GMT)
commit2a5e9f353fedaeb5ba5fdfac77c78a89342655db (patch)
tree3f9b1ea529fb8802d9119cd8dd03042f10d0d197
parent824dc864bf953e2866a83c03d3bb209b0195fa0b (diff)
downloadhdf5-2a5e9f353fedaeb5ba5fdfac77c78a89342655db.zip
hdf5-2a5e9f353fedaeb5ba5fdfac77c78a89342655db.tar.gz
hdf5-2a5e9f353fedaeb5ba5fdfac77c78a89342655db.tar.bz2
[svn-r20497] Bug 1386 - allow dimension size to be zero even though it isn't unlimited. I took out some comment.
No test needed.
-rw-r--r--src/H5S.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/H5S.c b/src/H5S.c
index 13e74de..21029ef 100644
--- a/src/H5S.c
+++ b/src/H5S.c
@@ -1161,13 +1161,8 @@ H5Sis_simple(hid_t space_id)
Verifies that each element of DIMS is not equal to H5S_UNLIMITED.
Raymond Lu 03/30/2011
- We allow 0-dimension for non-unlimited dimension starting from 1.8.7
+ We allow 0 dimension size for non-unlimited dimension starting from 1.8.7
release.
-
- Raymond Lu 04/11/2011
- I added a condition check to make sure the new size won't exceed the
- current maximal size when this function is called to change the
- dimension size of an existent dataspace.
--------------------------------------------------------------------------*/
herr_t
H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[/*rank*/],