[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
This commit is contained in:
MuQun Yang 2002-07-23 15:51:24 -05:00
parent 0fe805bc64
commit 4662b05236

View File

@ -730,7 +730,7 @@ H5FD_sec2_flush(H5FD_t *_file, unsigned UNUSED closing)
if (file->eoa>file->eof) { if (file->eoa>file->eof) {
#ifdef WIN32 #ifdef WIN32
/* Map the posix file handle to a Windows file handle */ /* 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 */ /* Translate 64-bit integers into form Windows wants */
/* [This algorithm is from the Windows documentation for SetFilePointer()] */ /* [This algorithm is from the Windows documentation for SetFilePointer()] */