From 846de763b3d1af4b411393b6cd3e5f71f3054f43 Mon Sep 17 00:00:00 2001 From: Patrick Lu Date: Mon, 11 Jan 1999 14:46:38 -0500 Subject: [svn-r1019] the last version I checked in was not ocmpletely correct. --- src/H5Flow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/H5Flow.c b/src/H5Flow.c index e4dd2ba..a522870 100644 --- a/src/H5Flow.c +++ b/src/H5Flow.c @@ -482,6 +482,8 @@ H5F_low_access(const H5F_low_class_t *type, const char *name, htri_t ret_value; struct stat sb; + int fid; + FUNC_ENTER(H5F_low_size, FAIL); assert(type); @@ -492,7 +494,6 @@ H5F_low_access(const H5F_low_class_t *type, const char *name, this extra block is needed because windows sets the st_dev member of sb to be 0 if it is a file which makes the comparison below wrong */ - int fid; fid=open(name,mode|_O_BINARY); HDfstat(fid,&sb); -- cgit v0.12