From 7a659a4d50d937ad0553624b22f060ca1300682b Mon Sep 17 00:00:00 2001 From: Robb Matzke Date: Tue, 15 Jun 1999 09:57:59 -0500 Subject: [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... --- src/H5D.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- cgit v0.12