summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-07-27 20:41:59 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-07-27 20:41:59 (GMT)
commit33cf994614492333c66ffe7e4b3cdd2c2f1eda88 (patch)
treea3500d4cdbb49b78a9de8d3a4a31ee92f5d52ed8 /src
parent1b77f23dc2da2e1ab858af84694bb1519352911f (diff)
downloadhdf5-33cf994614492333c66ffe7e4b3cdd2c2f1eda88.zip
hdf5-33cf994614492333c66ffe7e4b3cdd2c2f1eda88.tar.gz
hdf5-33cf994614492333c66ffe7e4b3cdd2c2f1eda88.tar.bz2
[svn-r8959] Purpose:
Bug fix Description: Always write fill values to chunks when initializing entire B-tree and any filters are defined. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Solaris 2.7 (arabica) Too minor to require h5committest
Diffstat (limited to 'src')
-rw-r--r--src/H5Distore.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5Distore.c b/src/H5Distore.c
index 7e3c73a..73b7dc7 100644
--- a/src/H5Distore.c
+++ b/src/H5Distore.c
@@ -2426,10 +2426,12 @@ H5D_istore_allocate(H5F_t *f, hid_t dxpl_id, const H5D_t *dset,
/* If we are filling the dataset on allocation or "if set" and
* the fill value _is_ set, _and_ we are not overwriting the new blocks,
+ * or if there are any pipeline filters defined,
* set the "should fill" flag
*/
- if(!full_overwrite && (fill_time==H5D_FILL_TIME_ALLOC ||
+ if((!full_overwrite && (fill_time==H5D_FILL_TIME_ALLOC ||
(fill_time==H5D_FILL_TIME_IFSET && fill_status==H5D_FILL_VALUE_USER_DEFINED)))
+ || pline.nused>0)
should_fill=1;
/* Check if fill values should be written to blocks */