summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-02-12 12:39:55 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-02-12 12:39:55 (GMT)
commit997d4e374258c4d4bddc4754fa75155c4279f126 (patch)
tree8faf214436f81fab071374ce408a2e98d2051785 /src
parent905585f913a1f715cff7ff733b296b7d629a2aff (diff)
downloadhdf5-997d4e374258c4d4bddc4754fa75155c4279f126.zip
hdf5-997d4e374258c4d4bddc4754fa75155c4279f126.tar.gz
hdf5-997d4e374258c4d4bddc4754fa75155c4279f126.tar.bz2
[svn-r6394] Purpose:
Bug fix. Description: Missed adding the dxpl to the 'flush' VFL callback in the stream driver, causing the C++ compiles to fail. Solution: Added the dxpl parameter. Platforms tested: FreeBSD 4.7 (sleipnir) w/CC=g++
Diffstat (limited to 'src')
-rw-r--r--src/H5FDstream.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/H5FDstream.c b/src/H5FDstream.c
index e60c7a7..680d969 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, unsigned closing);
+static herr_t H5FD_stream_flush (H5FD_t *_stream, hid_t dxpl_id, 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);
@@ -693,7 +693,7 @@ done:
*-------------------------------------------------------------------------
*/
static herr_t
-H5FD_stream_flush (H5FD_t *_stream, unsigned UNUSED closing)
+H5FD_stream_flush (H5FD_t *_stream, hid_t dxpl_id, unsigned UNUSED closing)
{
H5FD_stream_t *stream = (H5FD_stream_t *) _stream;
size_t size;
@@ -772,10 +772,6 @@ H5FD_stream_close (H5FD_t *_stream)
FUNC_ENTER_NOAPI(H5FD_stream_close, FAIL);
- /* Flush */
- if (H5FD_stream_flush (_stream,TRUE) != SUCCEED)
- HGOTO_ERROR (H5E_FILE, H5E_CANTFLUSH, FAIL, "unable to flush file");
-
/* Release resources */
if (! H5FD_STREAM_ERROR_CHECK (stream->socket) && stream->internal_socket)
H5FD_STREAM_CLOSE_SOCKET (stream->socket);