diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1999-11-17 21:59:53 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1999-11-17 21:59:53 (GMT) |
commit | 9e014467b62df66322de63e21be565ed59a079b3 (patch) | |
tree | e6b01ab36a0f2a67c1e3a68b5be10dc5e15f481d /src/H5FD.c | |
parent | cd313a16456934b336902ca509d10187b4d975de (diff) | |
download | hdf5-9e014467b62df66322de63e21be565ed59a079b3.zip hdf5-9e014467b62df66322de63e21be565ed59a079b3.tar.gz hdf5-9e014467b62df66322de63e21be565ed59a079b3.tar.bz2 |
[svn-r1836] Mainly fixed a bug in VL datatype comparisons which was causing non-equal
VL types to compare as equal. Added some asserts to make certain nothing
slips through again. Also cleaned up a few warnings from the SGI compiler.
Diffstat (limited to 'src/H5FD.c')
-rw-r--r-- | src/H5FD.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -182,7 +182,7 @@ H5FDregister(const H5FD_class_t *cls) HRETURN_ERROR(H5E_ARGS, H5E_UNINITIALIZED, FAIL, "`read' and/or `write' method is not defined"); } - for (type=0; type<H5FD_MEM_NTYPES; type++) { + for (type=H5FD_MEM_DEFAULT; type<H5FD_MEM_NTYPES; type++) { if (cls->fl_map[type]<H5FD_MEM_NOLIST || cls->fl_map[type]>=H5FD_MEM_NTYPES) { HRETURN_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, @@ -856,7 +856,7 @@ H5FD_close(H5FD_t *file) assert(file && file->cls); /* Free all free-lists, leaking any memory thus described */ - for (i=0; i<H5FD_MEM_NTYPES; i++) { + for (i=H5FD_MEM_DEFAULT; i<H5FD_MEM_NTYPES; i++) { for (cur=file->fl[i]; cur; cur=next) { #ifdef H5F_DEBUG nblocks++; |