summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2002-01-08 18:03:52 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2002-01-08 18:03:52 (GMT)
commitc1a595ec27cf8c3b3b53c2841b4dc30994eb6301 (patch)
tree5784916110c577c3c8b1f680db65154fc4d4c6a6 /src
parent4fe68ccc12d18c946fc37fddc3c8372c545b5476 (diff)
downloadhdf5-c1a595ec27cf8c3b3b53c2841b4dc30994eb6301.zip
hdf5-c1a595ec27cf8c3b3b53c2841b4dc30994eb6301.tar.gz
hdf5-c1a595ec27cf8c3b3b53c2841b4dc30994eb6301.tar.bz2
[svn-r4799]
Purpose: a bug fix for windows time testing Description: daylight constant is not handled correctly on windows. Hard code for the time being. Solution: Platforms tested: windows 2000
Diffstat (limited to 'src')
-rw-r--r--src/H5Omtime.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5Omtime.c b/src/H5Omtime.c
index cf74eb1..ff62fc4 100644
--- a/src/H5Omtime.c
+++ b/src/H5Omtime.c
@@ -154,7 +154,10 @@ H5O_mtime_decode(H5F_t UNUSED *f, const uint8_t *p,
tz = timebuffer.timezone;
- the_time -=tz*60-3600*_daylight;
+ /*daylight is not handled properly. Currently we just hard-code the problem. */
+ the_time -=tz*60;
+
+ /*the_time -=tz*60-3600*_daylight;*/
}