diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2002-07-23 20:51:24 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2002-07-23 20:51:24 (GMT) |
commit | 4662b05236278ab514fe76d4a3aa854ab1887370 (patch) | |
tree | 0dcc2bff82c41540704073b8bdc8b42f5a033a7f /src | |
parent | 0fe805bc647fad2427e80f5bb4906db90b036921 (diff) | |
download | hdf5-4662b05236278ab514fe76d4a3aa854ab1887370.zip hdf5-4662b05236278ab514fe76d4a3aa854ab1887370.tar.gz hdf5-4662b05236278ab514fe76d4a3aa854ab1887370.tar.bz2 |
[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
Diffstat (limited to 'src')
-rw-r--r-- | src/H5FDsec2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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()] */ |