diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-01-28 18:31:36 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-01-28 18:31:36 (GMT) |
commit | a8299841d744e2867501041a3c451fd2ff62d42c (patch) | |
tree | 1631e52d5903e83187b2eb465c89a9fbd185ed00 | |
parent | 4110e9f1a9749497129a696234c292209823c750 (diff) | |
download | hdf5-a8299841d744e2867501041a3c451fd2ff62d42c.zip hdf5-a8299841d744e2867501041a3c451fd2ff62d42c.tar.gz hdf5-a8299841d744e2867501041a3c451fd2ff62d42c.tar.bz2 |
[svn-r11900] Purpose:
Bug fix
Description:
Bug fix on the H5T_vlen_set_loc to allow for changing the file on a
variable-length datatype on disk.
Platforms tested:
FreeBSD 4.11 (sleipnir)
Linux 2.4
-rw-r--r-- | src/H5Tvlen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tvlen.c b/src/H5Tvlen.c index 837adf7..693c727 100644 --- a/src/H5Tvlen.c +++ b/src/H5Tvlen.c @@ -216,7 +216,7 @@ H5T_vlen_set_loc(const H5T_t *dt, H5F_t *f, H5T_vlen_loc_t loc) assert(loc>H5T_VLEN_BADLOC && loc<H5T_VLEN_MAXLOC); /* Only change the location if it's different */ - if(loc!=dt->shared->u.vlen.loc) { + if(loc != dt->shared->u.vlen.loc || f != dt->shared->u.vlen.f) { /* Indicate that the location changed */ ret_value=TRUE; |