summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-07-27 20:41:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-07-27 20:41:57 (GMT)
commit8df0288b6d08d163b6c7ab010ba93b72ec346462 (patch)
tree8e82bfa40ba9b655afb19649ca8fbe30f2fc7bf1 /src
parentf09aff4ee251529ed30facfc33073465f38f703d (diff)
downloadhdf5-8df0288b6d08d163b6c7ab010ba93b72ec346462.zip
hdf5-8df0288b6d08d163b6c7ab010ba93b72ec346462.tar.gz
hdf5-8df0288b6d08d163b6c7ab010ba93b72ec346462.tar.bz2
[svn-r8958] 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 596350b..4b7bb0a 100644
--- a/src/H5Distore.c
+++ b/src/H5Distore.c
@@ -2413,10 +2413,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 */