summaryrefslogtreecommitdiffstats
path: root/src/H5Omtime.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-08-18 17:14:43 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-08-18 17:14:43 (GMT)
commitd27a31461c69001551b1168c3ca44b591f4cb82b (patch)
treebac2fc1ea06c6ab1052c0eab083c87769ac79c3f /src/H5Omtime.c
parentd9b9ed853d6b5d53935efad83d932f58ef0a5ac3 (diff)
downloadhdf5-d27a31461c69001551b1168c3ca44b591f4cb82b.zip
hdf5-d27a31461c69001551b1168c3ca44b591f4cb82b.tar.gz
hdf5-d27a31461c69001551b1168c3ca44b591f4cb82b.tar.bz2
[svn-r601] Changes since 19980814
---------------------- ./src/H5Fistore.c Fixed a bug that caused the wrong number of chunk offsets to be read or written from the file. ./src/H5Z.c Fixed a memory bug. ./test/dtypes.c Removed redundant tests. ./bin/snapshot Removed Perl code from a shell script. Oops :-) ./src/H5D.c Removed cvs merge conflicts. ./src/H5Omtime.c Fixed a typo in the Irix5.3 code. ./src/H5S.c Fixed a memory leak. ./src/H5Shyper.c Fixed a bad call to malloc() that didn't allocate enough memory. Reordered a comparison to eliminate an array bounds read error.
Diffstat (limited to 'src/H5Omtime.c')
-rw-r--r--src/H5Omtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Omtime.c b/src/H5Omtime.c
index 5601550..0a6ebea 100644
--- a/src/H5Omtime.c
+++ b/src/H5Omtime.c
@@ -120,7 +120,7 @@ H5O_mtime_decode(H5F_t __unused__ *f, const uint8 *p,
HRETURN_ERROR(H5E_OHDR, H5E_CANTINIT, NULL,
"unable to obtain local timezone information");
}
- the_time -= tz.tz_minuteswest*60 - (tm.tm_idst?3600:0);
+ the_time -= tz.tz_minuteswest*60 - (tm.tm_isdst?3600:0);
}
#elif defined(HAVE_GETTIMEOFDAY) && defined(HAVE_STRUCT_TIMEZONE)
{