summaryrefslogtreecommitdiffstats
path: root/src/H5Fpublic.h
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2005-05-20 18:24:26 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2005-05-20 18:24:26 (GMT)
commit9cf358dbb8140fb538c3ef0d52e77ef9e4ca1833 (patch)
tree96ff1aca2a9b7f1667692a680051212943855862 /src/H5Fpublic.h
parentba95b9133c12258fcd795f2b3e3597d9273b2f89 (diff)
downloadhdf5-9cf358dbb8140fb538c3ef0d52e77ef9e4ca1833.zip
hdf5-9cf358dbb8140fb538c3ef0d52e77ef9e4ca1833.tar.gz
hdf5-9cf358dbb8140fb538c3ef0d52e77ef9e4ca1833.tar.bz2
[svn-r10776] Purpose: Bug fix
Description: See details from Bug #213. Family member file size wasn't saved anywhere in file. When family file is opened, the first member size determine the member size. Solution: This is the first step of fixing this bug. Member size and name template(unused at this stage) are saved in file superblock. When file is reopened, the size passed in through H5Pset_fapl_family is checked against the size saved in superblock. A different size will trigger a failure with an error message indicating the right size. Wrong driver to open family file will cause a failure, too. The second step will change multi driver that wrong driver will cause a failure. Platforms tested: fuss and h5committest
Diffstat (limited to 'src/H5Fpublic.h')
-rw-r--r--src/H5Fpublic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Fpublic.h b/src/H5Fpublic.h
index 79a2769..91edaa2 100644
--- a/src/H5Fpublic.h
+++ b/src/H5Fpublic.h
@@ -59,6 +59,8 @@
#define H5F_OBJ_ATTR (0x0010u)
#define H5F_OBJ_ALL (H5F_OBJ_FILE|H5F_OBJ_DATASET|H5F_OBJ_GROUP|H5F_OBJ_DATATYPE|H5F_OBJ_ATTR)
+#define H5F_FAMILY_DEFAULT 0
+
#ifdef H5_HAVE_PARALLEL
/*
* Use this constant string as the MPI_Info key to set H5Fmpio debug flags.