summaryrefslogtreecommitdiffstats
path: root/src/H5Pdcpl.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-01-13 18:00:59 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-01-13 18:00:59 (GMT)
commit00edaf52c5c31134dcaf4fbdc1933104d510236f (patch)
treec23928a4a7a490e13f0cfcdd43c030a7228ce22b /src/H5Pdcpl.c
parentf151f5a2a567037650b7acae74b3bd3cdc93d7af (diff)
downloadhdf5-00edaf52c5c31134dcaf4fbdc1933104d510236f.zip
hdf5-00edaf52c5c31134dcaf4fbdc1933104d510236f.tar.gz
hdf5-00edaf52c5c31134dcaf4fbdc1933104d510236f.tar.bz2
[svn-r8053] Purpose:
Bug fix Description: Correct two problems with variable-length datatypes in datasets: - When overwriting an entire dataset, writing the fill value to the file would be skipped, causing problems for VL datatypes when objects in the file had been unlinked (and thus the space in the file was not all zeros) - When an application has set a fill-value for a dataset and the dataset's datatype contained a VL datatype, the library was filling space on disk with the memory form of the VL information, instead of the disk form. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
Diffstat (limited to 'src/H5Pdcpl.c')
-rw-r--r--src/H5Pdcpl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Pdcpl.c b/src/H5Pdcpl.c
index f61ebf0..6307a07 100644
--- a/src/H5Pdcpl.c
+++ b/src/H5Pdcpl.c
@@ -741,8 +741,7 @@ H5Pget_filter(hid_t plist_id, unsigned idx, unsigned int *flags/*out*/,
#endif /* H5_WANT_H5_V1_6_COMPAT */
/* Check args */
- if (cd_nelmts || cd_values)
-{
+ if (cd_nelmts || cd_values) {
if (cd_nelmts && *cd_nelmts>256)
/*
* It's likely that users forget to initialize this on input, so