summaryrefslogtreecommitdiffstats
path: root/release_docs
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2003-04-29 19:13:21 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2003-04-29 19:13:21 (GMT)
commitf555485a003a93a9f97f89f73af3b5b6ea269b24 (patch)
tree2b9af7882a7637e6273e95fc6e0e1f434fb6497b /release_docs
parent6c214577206cec6fc78fd0c5b722e6f2df107e14 (diff)
downloadhdf5-f555485a003a93a9f97f89f73af3b5b6ea269b24.zip
hdf5-f555485a003a93a9f97f89f73af3b5b6ea269b24.tar.gz
hdf5-f555485a003a93a9f97f89f73af3b5b6ea269b24.tar.bz2
[svn-r6777] Purpose:
A bug fix for windows. Description: Many tests failed on windows when stdio driver is on. I suspect it is the compiler bug. After some investigation, the symptom is: The signature of HDF5 file cannot be found. The real problem is the signature was appended at the end of the whole file instead of inserting at the starting of the file. It seems when the file pointer(signature) is reset to the starting of the file, windows mis-placed it to the end of the file after finding the file is close to the end. Solution: Fortuately, ftell and fseek still function well on windows, so I use ftell and fseek to force the file pointer to go to the position it is supposed to go. Platforms tested: since the only change in this file is within ifdef WIN32 macro; it won't affect the mainstream platforms, so I don't have to three platforms. Platforms to confirm(test with basic function): Linux 2.4 Platforms to throughly test: windows 2000 with VS6.0 test on three different Misc. update:
Diffstat (limited to 'release_docs')
0 files changed, 0 insertions, 0 deletions