diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-14 22:21:54 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-14 22:21:54 (GMT) |
commit | 2521c4084c06f078846fe06bb1d3cd7bfa506316 (patch) | |
tree | 466b9213c163d812778434bba2097705b423e799 /test/stab.c | |
parent | 3468ff3a5c4f6c384801edef9ae52ecc4f2de3c5 (diff) | |
download | hdf5-2521c4084c06f078846fe06bb1d3cd7bfa506316.zip hdf5-2521c4084c06f078846fe06bb1d3cd7bfa506316.tar.gz hdf5-2521c4084c06f078846fe06bb1d3cd7bfa506316.tar.bz2 |
[svn-r12254] Purpose:
Anti-feature
Description:
Revert changes to H5G_stat_t struct, to make it compatible with the 1.6.x
branch again. The information that was added to the H5G_stat_t struct will
be reported through other API routines.
Platforms tested:
FreeBSD 4.11 (sleipnir) w/C++
Linux 2.4/64 (mir) w/C++ & Fortran
Solaris 2.9 (shanti)
Diffstat (limited to 'test/stab.c')
-rw-r--r-- | test/stab.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/stab.c b/test/stab.c index 4cf73d9..09a5438 100644 --- a/test/stab.c +++ b/test/stab.c @@ -380,13 +380,13 @@ lifecycle(hid_t fapl) /* Check that the object header is only one chunk and the space has been allocated correctly */ if(H5Gget_objinfo(gid, ".", FALSE, &obj_stat) < 0) TEST_ERROR; #ifdef H5_HAVE_LARGE_HSIZET - if(obj_stat.u.obj.ohdr.size != 232) TEST_ERROR; + if(obj_stat.ohdr.size != 232) TEST_ERROR; #else /* H5_HAVE_LARGE_HSIZET */ - if(obj_stat.u.obj.ohdr.size != 224) TEST_ERROR; + if(obj_stat.ohdr.size != 224) TEST_ERROR; #endif /* H5_HAVE_LARGE_HSIZET */ - if(obj_stat.u.obj.ohdr.free != 0) TEST_ERROR; - if(obj_stat.u.obj.ohdr.nmesgs != 6) TEST_ERROR; - if(obj_stat.u.obj.ohdr.nchunks != 1) TEST_ERROR; + if(obj_stat.ohdr.free != 0) TEST_ERROR; + if(obj_stat.ohdr.nmesgs != 6) TEST_ERROR; + if(obj_stat.ohdr.nchunks != 1) TEST_ERROR; /* Create one more "bottom" group, which should push top group into using a symbol table */ sprintf(objname, LIFECYCLE_BOTTOM_GROUP, u); @@ -408,13 +408,13 @@ lifecycle(hid_t fapl) /* Check that the object header is still one chunk and the space has been allocated correctly */ if(H5Gget_objinfo(gid, ".", FALSE, &obj_stat) < 0) TEST_ERROR; #ifdef H5_HAVE_LARGE_HSIZET - if(obj_stat.u.obj.ohdr.size != 232) TEST_ERROR; + if(obj_stat.ohdr.size != 232) TEST_ERROR; #else /* H5_HAVE_LARGE_HSIZET */ - if(obj_stat.u.obj.ohdr.size != 224) TEST_ERROR; + if(obj_stat.ohdr.size != 224) TEST_ERROR; #endif /* H5_HAVE_LARGE_HSIZET */ - if(obj_stat.u.obj.ohdr.free != 136) TEST_ERROR; - if(obj_stat.u.obj.ohdr.nmesgs != 4) TEST_ERROR; - if(obj_stat.u.obj.ohdr.nchunks != 1) TEST_ERROR; + if(obj_stat.ohdr.free != 136) TEST_ERROR; + if(obj_stat.ohdr.nmesgs != 4) TEST_ERROR; + if(obj_stat.ohdr.nchunks != 1) TEST_ERROR; /* Unlink objects from top group */ while(u >= LIFECYCLE_MIN_DENSE) { |