diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-10 20:36:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-10 20:36:33 (GMT) |
commit | c0c896e724c77226e3a73379f3571b323893335d (patch) | |
tree | 6ad76b3f1d04661b3353664d7a743bb7fea98362 /src/H5Osdspace.c | |
parent | 65d30cc9c36b782c704daeb4b3f75cdbc7bff680 (diff) | |
download | hdf5-c0c896e724c77226e3a73379f3571b323893335d.zip hdf5-c0c896e724c77226e3a73379f3571b323893335d.tar.gz hdf5-c0c896e724c77226e3a73379f3571b323893335d.tar.bz2 |
[svn-r12740] Description:
Update datasets and the layout, attributes and fill-value
object header messages to use the latest version
of the file format flag.
Tested on:
FreeBSD 4.11 (sleipnir)
Linux/64 2.4 (mir)
Linux/32 2.4 (heping)
Diffstat (limited to 'src/H5Osdspace.c')
-rw-r--r-- | src/H5Osdspace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Osdspace.c b/src/H5Osdspace.c index 32be4bc..f1f5d36 100644 --- a/src/H5Osdspace.c +++ b/src/H5Osdspace.c @@ -235,7 +235,7 @@ H5O_sdspace_encode(H5F_t *f, uint8_t *p, const void *_mesg) const H5S_extent_t *sdim = (const H5S_extent_t *)_mesg; unsigned flags = 0; unsigned version; - hbool_t use_latest_format; /* Flag indicating the new group format should be used */ + hbool_t use_latest_format; /* Flag indicating the newest file format should be used */ unsigned u; /* Local counting variable */ FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_sdspace_encode) @@ -251,7 +251,7 @@ H5O_sdspace_encode(H5F_t *f, uint8_t *p, const void *_mesg) /* Version */ if(use_latest_format) version = H5O_SDSPACE_VERSION_LATEST; - else if(sdim->type == H5S_NULL || use_latest_format) + else if(sdim->type == H5S_NULL) version = H5O_SDSPACE_VERSION_2; else version = H5O_SDSPACE_VERSION_1; @@ -361,7 +361,7 @@ static size_t H5O_sdspace_size(const H5F_t *f, const void *_mesg) { const H5S_extent_t *space = (const H5S_extent_t *)_mesg; - hbool_t use_latest_format; /* Flag indicating the new group format should be used */ + hbool_t use_latest_format; /* Flag indicating the newest file format should be used */ size_t ret_value; FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_sdspace_size) |