diff options
author | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1999-01-11 19:46:38 (GMT) |
---|---|---|
committer | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1999-01-11 19:46:38 (GMT) |
commit | 846de763b3d1af4b411393b6cd3e5f71f3054f43 (patch) | |
tree | 26ae93d937762444ee45d1b2b005f3710d73b298 /src | |
parent | 58295f0c15f5be6badf33b75994e64b045172985 (diff) | |
download | hdf5-846de763b3d1af4b411393b6cd3e5f71f3054f43.zip hdf5-846de763b3d1af4b411393b6cd3e5f71f3054f43.tar.gz hdf5-846de763b3d1af4b411393b6cd3e5f71f3054f43.tar.bz2 |
[svn-r1019] the last version I checked in was not ocmpletely correct.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Flow.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |