diff options
author | pst <pst@FreeBSD.org> | 1997-11-27 19:49:05 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1997-11-27 19:49:05 +0000 |
commit | 8bd128dbdcfa494c5de67f1aa036784f0b3ac26e (patch) | |
tree | cef0bba69f1833802f43364a0cde6945601e665a /contrib/tcl/unix/tclUnixTime.c | |
parent | 5b30c2fb530aac2933dce3197e33362c844d3039 (diff) | |
download | FreeBSD-src-8bd128dbdcfa494c5de67f1aa036784f0b3ac26e.zip FreeBSD-src-8bd128dbdcfa494c5de67f1aa036784f0b3ac26e.tar.gz |
Import TCL v8.0 PL2.
Diffstat (limited to 'contrib/tcl/unix/tclUnixTime.c')
-rw-r--r-- | contrib/tcl/unix/tclUnixTime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tcl/unix/tclUnixTime.c b/contrib/tcl/unix/tclUnixTime.c index 0c6a5d0..ba8d984 100644 --- a/contrib/tcl/unix/tclUnixTime.c +++ b/contrib/tcl/unix/tclUnixTime.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * SCCS: @(#) tclUnixTime.c 1.12 97/01/08 17:38:15 + * SCCS: @(#) tclUnixTime.c 1.13 97/10/31 15:04:58 */ #include "tclInt.h" @@ -127,7 +127,7 @@ TclpGetTimeZone (currentTime) #if defined(HAVE_TM_GMTOFF) && !defined (TCL_GOT_TIMEZONE) # define TCL_GOT_TIMEZONE time_t curTime = (time_t) currentTime; - struct tm *timeDataPtr = localtime(¤tTime); + struct tm *timeDataPtr = localtime(&curTime); int timeZone; timeZone = -(timeDataPtr->tm_gmtoff / 60); |