summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>2000-12-29 18:35:11 (GMT)
committerRobb Matzke <matzke@llnl.gov>2000-12-29 18:35:11 (GMT)
commit2a69350c850e51fef0eebf73b21d5cf05852b744 (patch)
tree2b6786195a6ed3e60cc2f32e5250f1992cc21d4a /src/H5F.c
parenteb8a2948b30a3eda249033df50923ce5a106b619 (diff)
downloadhdf5-2a69350c850e51fef0eebf73b21d5cf05852b744.zip
hdf5-2a69350c850e51fef0eebf73b21d5cf05852b744.tar.gz
hdf5-2a69350c850e51fef0eebf73b21d5cf05852b744.tar.bz2
[svn-r3212] ./hdf5/src/H5F.c
Diffstat (limited to 'src/H5F.c')
-rw-r--r--src/H5F.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5F.c b/src/H5F.c
index 64d9057..8dc72ab 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -1272,14 +1272,14 @@ H5F_open(const char *name, uintn flags, hid_t fcpl_id, hid_t fapl_id)
* possible is if the first file of a family of files was opened
* individually.
*/
- if (HADDR_UNDEF==(eof=H5FD_get_eof(lf))) {
- HGOTO_ERROR(H5E_FILE, H5E_CANTOPENFILE, NULL,
- "unable to determine file size");
- }
- if (eof<stored_eoa) {
- HGOTO_ERROR(H5E_FILE, H5E_TRUNCATED, NULL, "truncated file");
- }
-
+ if (HADDR_UNDEF==(eof=H5FD_get_eof(lf))) {
+ HGOTO_ERROR(H5E_FILE, H5E_CANTOPENFILE, NULL,
+ "unable to determine file size");
+ }
+ if (eof<stored_eoa) {
+ HGOTO_ERROR(H5E_FILE, H5E_TRUNCATED, NULL, "truncated file");
+ }
+
/*
* Tell the file driver how much address space has already been
* allocated so that it knows how to allocated additional memory.