diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-10-02 13:31:24 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-10-02 13:31:24 (GMT) |
commit | 58ee080e72f4aa1e10bc7c3fcf5f6499aaad18e7 (patch) | |
tree | 7f0022dabb2c9a053b2d3c09a56fbd2c52544643 /src/H5D.c | |
parent | 849d36019d929c409c50cce08842354139dca2f8 (diff) | |
download | hdf5-58ee080e72f4aa1e10bc7c3fcf5f6499aaad18e7.zip hdf5-58ee080e72f4aa1e10bc7c3fcf5f6499aaad18e7.tar.gz hdf5-58ee080e72f4aa1e10bc7c3fcf5f6499aaad18e7.tar.bz2 |
[svn-r734] Changes since 19981001
----------------------
./src/H5D.c
./src/H5Fistore.c
./src/H5Fprivate.h
Fixed a couple things for parallel hdf5 that I broke with the
last checkin.
./src/H5Ofill.c
If no fill value is specified it isn't added to the object
header.
./tools/h5ls.c
Added a line-feed after `Unknown object' is printed.
./tools/h5tools.c
Fixed printing of scalar values. Need to still track down a
failed assertion when H5Sselect_hyperslab() is called with a
zero size....
Diffstat (limited to 'src/H5D.c')
-rw-r--r-- | src/H5D.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -960,7 +960,8 @@ H5D_create(H5G_entry_t *loc, const char *name, const H5T_t *type, HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, NULL, "unable to convert fill value to dataset type"); } - if (H5O_modify(&(new_dset->ent), H5O_FILL, 0, H5O_FLAG_CONSTANT, + if (new_dset->create_parms->fill.buf && + H5O_modify(&(new_dset->ent), H5O_FILL, 0, H5O_FLAG_CONSTANT, &(new_dset->create_parms->fill))<0) { HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, NULL, "unable to update fill value header message"); @@ -2224,7 +2225,8 @@ H5D_allocate (H5D_t *dataset, const H5D_xfer_t *xfer) if (H5F_istore_allocate(dataset->ent.file, (layout), space_dim, xfer->split_ratios, - &(dataset->create_parms->pline))<0) { + &(dataset->create_parms->pline), + &(dataset->create_parms->fill))<0) { HRETURN(FAIL); } break; |