From b678afccd8f7e761383d801f9578d06f65f74bd2 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 31 Aug 2000 14:26:06 -0500 Subject: [svn-r2495] More type of data parameter additions for H5F_block_write. --- src/H5Distore.c | 2 +- src/H5Farray.c | 2 +- src/H5Fistore.c | 2 +- 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"); -- cgit v0.12