diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-03 20:03:09 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-03 20:03:09 (GMT) |
commit | 7cac82cf682a8358582dd6f995a018f7a6d1a477 (patch) | |
tree | 48b12feeeb4ac23037b8cb5d09b99557fc58b067 /src/H5AC.c | |
parent | 153444fed7bd9dfb2b7d90a47c79d11bd1188e96 (diff) | |
download | hdf5-7cac82cf682a8358582dd6f995a018f7a6d1a477.zip hdf5-7cac82cf682a8358582dd6f995a018f7a6d1a477.tar.gz hdf5-7cac82cf682a8358582dd6f995a018f7a6d1a477.tar.bz2 |
[svn-r8801] Purpose:
Code optimization
Description:
Set up datatype ID for dataset's datatype on disk. This allows us to avoid
repeatedly copying the datatype when an ID is needed.
Also, clean up a few warnings in various other places.
Platforms tested:
Solaris 2.7 (arabica)
FreeBSD 4.10 (sleipnir) w/parallel
Too minor to require h5committest
Diffstat (limited to 'src/H5AC.c')
-rw-r--r-- | src/H5AC.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -962,7 +962,7 @@ H5AC_protect(H5F_t *f, info_ptr = (H5AC_info_t *)thing; - HDassert(info_ptr->dirty == FALSE); + HDassert(info_ptr->is_dirty == FALSE); info_ptr->addr = addr; info_ptr->type = type; @@ -1136,7 +1136,7 @@ H5AC_unprotect(H5F_t *f, /* Flush a thing to the SAP */ if ( thing ) { - if ( ((H5AC_info_t *)thing)->dirty ) { + if ( ((H5AC_info_t *)thing)->is_dirty ) { if ( type->flush(f, dxpl_id, FALSE, addr, thing) < 0 ) { |