summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-10-20 17:51:03 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-10-20 17:51:03 (GMT)
commite0cbe0c5c8bed8dc382fe5fd2a131e484b2b93f2 (patch)
tree10d6d4d6cc937b308aaf74cf44be379c0dfd1492 /src/H5F.c
parentef31f648cf3b50ec6d09e8ff4d0f9d10de336091 (diff)
downloadhdf5-e0cbe0c5c8bed8dc382fe5fd2a131e484b2b93f2.zip
hdf5-e0cbe0c5c8bed8dc382fe5fd2a131e484b2b93f2.tar.gz
hdf5-e0cbe0c5c8bed8dc382fe5fd2a131e484b2b93f2.tar.bz2
[svn-r1785] Added stdio VFL driver, which uses the new public H5E calls.
Diffstat (limited to 'src/H5F.c')
-rw-r--r--src/H5F.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/H5F.c b/src/H5F.c
index 8df9104..df3602e 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -24,9 +24,10 @@ static char RcsId[] = "@(#)$Revision$";
#include <H5FDcore.h> /*temporary in-memory files */
#include <H5FDfamily.h> /*family of files */
#include <H5FDmpio.h> /*MPI-2 I/O */
-#include <H5FDgass.h> /*GASS I/O */
+#include <H5FDgass.h> /*GASS I/O */
#include <H5FDmulti.h> /*multiple files partitioned by mem usage */
-#include <H5FDsec2.h> /*Posix unbuffered I/O */
+#include <H5FDsec2.h> /*Posix unbuffered I/O */
+#include <H5FDstdio.h> /* Standard C buffered I/O */
/* Packages needed by this file... */
#include <H5private.h> /*library functions */
@@ -203,6 +204,7 @@ H5F_init_interface(void)
/* Register predefined file drivers */
H5E_BEGIN_TRY {
if ((status=H5FD_SEC2)<0) goto end_registration;
+ if ((status=H5FD_STDIO)<0) goto end_registration;
if ((status=H5FD_FAMILY)<0) goto end_registration;
#ifdef HAVE_GASS
if ((status=H5FD_GASS)<0) goto end_registration;
@@ -1941,7 +1943,7 @@ H5Fclose(hid_t file_id)
HGOTO_ERROR (H5E_ATOM, H5E_CANTINIT, FAIL, "problems closing file");
}
- done:
+done:
FUNC_LEAVE(ret_value < 0 ? FAIL : SUCCEED);
}