summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-01-29 18:40:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-01-29 18:40:57 (GMT)
commita4467cd2c2c52723e09b0d7d266ab35eda3224a8 (patch)
tree4d52f48d9bf5c497027bcdbe590a15fb0cc51030 /src
parent108114495fccaafcf77904f43e9c4cb90c4396f8 (diff)
downloadhdf5-a4467cd2c2c52723e09b0d7d266ab35eda3224a8.zip
hdf5-a4467cd2c2c52723e09b0d7d266ab35eda3224a8.tar.gz
hdf5-a4467cd2c2c52723e09b0d7d266ab35eda3224a8.tar.bz2
[svn-r13218] Description:
Add "old" fill value messages to "new" fill value message sharing (and keep them both in the same shared message index). Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src')
-rw-r--r--src/H5Ofill.c12
-rwxr-xr-xsrc/H5SM.c2
2 files changed, 6 insertions, 8 deletions
diff --git a/src/H5Ofill.c b/src/H5Ofill.c
index 3ec0457..091f810 100644
--- a/src/H5Ofill.c
+++ b/src/H5Ofill.c
@@ -96,20 +96,20 @@ const H5O_msg_class_t H5O_MSG_FILL[1] = {{
H5O_FILL_ID, /*message id number */
"fill", /*message name for debugging */
sizeof(H5O_fill_t), /*native message size */
- H5O_fill_decode, /*decode message */
- H5O_fill_encode, /*encode message */
+ H5O_fill_shared_decode, /*decode message */
+ H5O_fill_shared_encode, /*encode message */
H5O_fill_new_copy, /*copy the native value */
- H5O_fill_size, /*raw message size */
+ H5O_fill_shared_size, /*raw message size */
H5O_fill_new_reset, /*free internal memory */
H5O_fill_new_free, /* free method */
- NULL, /* file delete method */
- NULL, /* link method */
+ H5O_fill_shared_delete, /* file delete method */
+ H5O_fill_shared_link, /* link method */
H5O_fill_new_get_share, /* get share method */
H5O_fill_new_set_share, /* set share method */
NULL, /*can share method */
H5O_fill_new_is_shared, /* is shared method */
NULL, /* pre copy native value to file */
- NULL, /* copy native value to file */
+ H5O_fill_shared_copy_file, /* copy native value to file */
NULL, /* post copy native value to file */
NULL, /* get creation index */
NULL, /* set creation index */
diff --git a/src/H5SM.c b/src/H5SM.c
index 05be50e..bb0d903 100755
--- a/src/H5SM.c
+++ b/src/H5SM.c
@@ -234,9 +234,7 @@ H5SM_type_to_flag(unsigned type_id, unsigned *type_flag)
case H5O_DTYPE_ID:
*type_flag = H5O_MESG_DTYPE_FLAG;
break;
-#ifdef NOT_YET
case H5O_FILL_ID:
-#endif /* NOT_YET */
case H5O_FILL_NEW_ID:
*type_flag = H5O_MESG_FILL_FLAG;
break;