summaryrefslogtreecommitdiffstats
path: root/src/H5FDstream.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-05-20 16:01:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-05-20 16:01:57 (GMT)
commit86170c3d00011e9e323a2b5fcaa4fbfc318c7c9c (patch)
tree7e5a72d6fe88ff305cdd08eb801687d3ad991785 /src/H5FDstream.c
parentc581a0723521cd20d62f16af39457106735a8629 (diff)
downloadhdf5-86170c3d00011e9e323a2b5fcaa4fbfc318c7c9c.zip
hdf5-86170c3d00011e9e323a2b5fcaa4fbfc318c7c9c.tar.gz
hdf5-86170c3d00011e9e323a2b5fcaa4fbfc318c7c9c.tar.bz2
[svn-r5440] Purpose:
New feature Description: Add 'closing' parameter to H5FDflush and VFL "flush" functions, per http://hdf.ncsa.uiuc.edu/RFC/VFLFlush/VFLFlush.html Platforms tested: IRIX64 6.5 (modi4)
Diffstat (limited to 'src/H5FDstream.c')
-rw-r--r--src/H5FDstream.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5FDstream.c b/src/H5FDstream.c
index ed7035e..97617ca 100644
--- a/src/H5FDstream.c
+++ b/src/H5FDstream.c
@@ -153,7 +153,7 @@ static const H5FD_stream_fapl_t default_fapl =
static void *H5FD_stream_fapl_get (H5FD_t *_stream);
static H5FD_t *H5FD_stream_open (const char *name, unsigned flags,
hid_t fapl_id, haddr_t maxaddr);
-static herr_t H5FD_stream_flush (H5FD_t *_stream);
+static herr_t H5FD_stream_flush (H5FD_t *_stream, unsigned closing);
static herr_t H5FD_stream_close (H5FD_t *_stream);
static herr_t H5FD_stream_query(const H5FD_t *_f1, unsigned long *flags);
static haddr_t H5FD_stream_get_eoa (H5FD_t *_stream);
@@ -813,7 +813,7 @@ static H5FD_t *H5FD_stream_open (const char *filename,
*
*-------------------------------------------------------------------------
*/
-static herr_t H5FD_stream_flush (H5FD_t *_stream)
+static herr_t H5FD_stream_flush (H5FD_t *_stream, unsigned UNUSED closing)
{
H5FD_stream_t *stream = (H5FD_stream_t *) _stream;
size_t size;
@@ -898,7 +898,7 @@ static herr_t H5FD_stream_close (H5FD_t *_stream)
FUNC_ENTER (H5FD_stream_close, FAIL);
/* Flush */
- if (H5FD_stream_flush (_stream) != SUCCEED)
+ if (H5FD_stream_flush (_stream,TRUE) != SUCCEED)
{
HRETURN_ERROR (H5E_FILE, H5E_CANTFLUSH, FAIL, "unable to flush file");
}