mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[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:
parent
0fe805bc64
commit
4662b05236
@ -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()] */
|
||||
|
Loading…
Reference in New Issue
Block a user