summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-08-31 19:26:06 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-08-31 19:26:06 (GMT)
commitb678afccd8f7e761383d801f9578d06f65f74bd2 (patch)
tree5d679d759d71fd9cbca6707a845b8664f46c2b4e
parent0709cc1025c1e7f3952ca1a5dd7daa10b6b21ec6 (diff)
downloadhdf5-b678afccd8f7e761383d801f9578d06f65f74bd2.zip
hdf5-b678afccd8f7e761383d801f9578d06f65f74bd2.tar.gz
hdf5-b678afccd8f7e761383d801f9578d06f65f74bd2.tar.bz2
[svn-r2495] More type of data parameter additions for H5F_block_write.
-rw-r--r--src/H5Distore.c2
-rw-r--r--src/H5Farray.c2
-rw-r--r--src/H5Fistore.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Distore.c b/src/H5Distore.c
index 8eb107b..06667bc 100644
--- a/src/H5Distore.c
+++ b/src/H5Distore.c
@@ -999,7 +999,7 @@ H5F_istore_flush_entry(H5F_t *f, H5F_rdcc_ent_t *ent, hbool_t reset)
HGOTO_ERROR(H5E_IO, H5E_WRITEERROR, FAIL,
"unable to allocate chunk");
}
- if (H5F_block_write(f, udata.addr, udata.key.nbytes, H5P_DEFAULT,
+ if (H5F_block_write(f, H5FD_MEM_DRAW, udata.addr, udata.key.nbytes, H5P_DEFAULT,
buf)<0) {
HGOTO_ERROR(H5E_IO, H5E_WRITEERROR, FAIL,
"unable to write raw data to file");
diff --git a/src/H5Farray.c b/src/H5Farray.c
index f2b79f1..db23acc 100644
--- a/src/H5Farray.c
+++ b/src/H5Farray.c
@@ -539,7 +539,7 @@ H5F_arr_write(H5F_t *f, hid_t dxpl_id, const struct H5O_layout_t *layout,
HRETURN_ERROR(H5E_IO, H5E_READERROR, FAIL,
"external data write failed");
}
- } else if (H5F_block_write(f, addr, elmt_size, dxpl_id, buf)<0) {
+ } else if (H5F_block_write(f, H5FD_MEM_DRAW, addr, elmt_size, dxpl_id, buf)<0) {
HRETURN_ERROR(H5E_IO, H5E_WRITEERROR, FAIL,
"block write failed");
}
diff --git a/src/H5Fistore.c b/src/H5Fistore.c
index 8eb107b..06667bc 100644
--- a/src/H5Fistore.c
+++ b/src/H5Fistore.c
@@ -999,7 +999,7 @@ H5F_istore_flush_entry(H5F_t *f, H5F_rdcc_ent_t *ent, hbool_t reset)
HGOTO_ERROR(H5E_IO, H5E_WRITEERROR, FAIL,
"unable to allocate chunk");
}
- if (H5F_block_write(f, udata.addr, udata.key.nbytes, H5P_DEFAULT,
+ if (H5F_block_write(f, H5FD_MEM_DRAW, udata.addr, udata.key.nbytes, H5P_DEFAULT,
buf)<0) {
HGOTO_ERROR(H5E_IO, H5E_WRITEERROR, FAIL,
"unable to write raw data to file");