summaryrefslogtreecommitdiffstats
path: root/src/H5Fpkg.h
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2009-03-24 22:06:07 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2009-03-24 22:06:07 (GMT)
commitffd0fddad2117675ffb80a4bb0da4c0e5d0a3112 (patch)
tree05e675f4e0c188697e8500f9c4226ffac9e556a4 /src/H5Fpkg.h
parentfdedcd9ceb2b9d58ad0cf1ef29a593e824fca81e (diff)
downloadhdf5-ffd0fddad2117675ffb80a4bb0da4c0e5d0a3112.zip
hdf5-ffd0fddad2117675ffb80a4bb0da4c0e5d0a3112.tar.gz
hdf5-ffd0fddad2117675ffb80a4bb0da4c0e5d0a3112.tar.bz2
[svn-r16609] Bug fix (#1161): When a family file created with v1.6 library is opened and closed with
v1.8 library, v1.8 library writes the driver info block in the superblock. But v1.6 doesn't write it. This caused the data after the superblock to be overwritten. The solution is to use a flag to indicate when the original file doesn't have the driver info, v1.8 library doesn't write it either. Tested on jam. I have some trouble to access smirom and linew using h5committest.
Diffstat (limited to 'src/H5Fpkg.h')
-rw-r--r--src/H5Fpkg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h
index 4080705..6434017 100644
--- a/src/H5Fpkg.h
+++ b/src/H5Fpkg.h
@@ -134,6 +134,7 @@ typedef struct H5F_file_t {
unsigned sohm_vers; /* Version of shared message table on disk */
unsigned sohm_nindexes; /* Number of shared messages indexes in the table */
haddr_t driver_addr; /* File driver information block address*/
+ hbool_t write_driver; /* Whether to write file driver block in the superblock */
unsigned long feature_flags; /* VFL Driver feature Flags */
haddr_t maxaddr; /* Maximum address for file */