summaryrefslogtreecommitdiffstats
path: root/src/H5Pdcpl.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-01-23 20:30:33 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-01-23 20:30:33 (GMT)
commitd89c2c43f37795f906152dbc66a70b232dfb90bb (patch)
tree43d42fa633c96a337569d567a7af162e88c2c4c4 /src/H5Pdcpl.c
parentdc02b5bd22b61c52a6947f338691bc801baf1b91 (diff)
downloadhdf5-d89c2c43f37795f906152dbc66a70b232dfb90bb.zip
hdf5-d89c2c43f37795f906152dbc66a70b232dfb90bb.tar.gz
hdf5-d89c2c43f37795f906152dbc66a70b232dfb90bb.tar.bz2
[svn-r13183] Description:
Checkpoint work toward getting the fill value message into the shared message interface regime. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Pdcpl.c')
-rw-r--r--src/H5Pdcpl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Pdcpl.c b/src/H5Pdcpl.c
index 97983ec..9c94a67 100644
--- a/src/H5Pdcpl.c
+++ b/src/H5Pdcpl.c
@@ -2018,6 +2018,8 @@ H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
HGOTO_ERROR(H5E_RESOURCE, H5E_CANTINIT, FAIL, "memory allocation failed for fill value")
HDmemcpy(fill.buf, value, (size_t)fill.size);
} /* end if */
+ else
+ fill.size = (-1);
/* Update fill value in property list */
if(H5P_set(plist, H5D_CRT_FILL_VALUE_NAME, &fill) < 0)