summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-06-15 14:57:59 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-06-15 14:57:59 (GMT)
commit7a659a4d50d937ad0553624b22f060ca1300682b (patch)
treedf41e736e0d58ecc0e426eebcb87d89db48eb693 /src
parent740b5058c594e612a9b68864417a0afd9249b441 (diff)
downloadhdf5-7a659a4d50d937ad0553624b22f060ca1300682b.zip
hdf5-7a659a4d50d937ad0553624b22f060ca1300682b.tar.gz
hdf5-7a659a4d50d937ad0553624b22f060ca1300682b.tar.bz2
[svn-r1346] Changes since 19990614
---------------------- ./src/H5D.c Changed the way the plist_id argument of H5Dvlen_reclaim() is checked so that it's more specific and works when debugging is turned off. ./src/H5TB.c Removed an unused local variable. ./test/fillval.c ./test/h5test.c ./test/h5test.h Changed `basename' variables to `base_name' to prevent a warning about a global with the same name. ./tools/h5ls.c Changed `indent' variables to `ind' to prevent a warning about a global with the same name. ./tools/h5toh4.c Commented out declarations for things that normally appear in system header files since our definitions might be incompatible with the system and prevent h5toh4 from compiling. If all looks good on other systems then we can permanently remove these declarations...
Diffstat (limited to 'src')
-rw-r--r--src/H5D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5D.c b/src/H5D.c
index b0542a0..b8841af 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -2601,7 +2601,7 @@ H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
/* Check args */
if (H5I_DATATYPE!=H5I_get_type(type_id) ||
H5I_DATASPACE!=H5I_get_type(space_id) ||
- (H5I_TEMPLATE_0<=H5I_get_type(plist_id) && H5I_TEMPLATE_MAX>H5I_get_type(plist_id)) ||
+ H5P_DATASET_XFER!=H5P_get_class(plist_id) ||
buf==NULL) {
HRETURN_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid argument");
}