From 4662b05236278ab514fe76d4a3aa854ab1887370 Mon Sep 17 00:00:00 2001 From: MuQun Yang Date: Tue, 23 Jul 2002 15:51:24 -0500 Subject: [svn-r5829] Purpose: correct a typo in the H5FD_sec2_flush. Description: fd is not defined. It should be file->fd Solution: Platforms tested: windows 2000, linux 2.2.18smp --- src/H5FDsec2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c index a182ee2..f888852 100644 --- a/src/H5FDsec2.c +++ b/src/H5FDsec2.c @@ -730,7 +730,7 @@ H5FD_sec2_flush(H5FD_t *_file, unsigned UNUSED closing) if (file->eoa>file->eof) { #ifdef WIN32 /* Map the posix file handle to a Windows file handle */ - filehandle = _get_osfhandle(fd); + filehandle = _get_osfhandle(file->fd); /* Translate 64-bit integers into form Windows wants */ /* [This algorithm is from the Windows documentation for SetFilePointer()] */ -- cgit v0.12