summaryrefslogtreecommitdiffstats
path: root/contrib/tcl/unix/tclUnixTime.c
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1997-11-27 19:49:05 +0000
committerpst <pst@FreeBSD.org>1997-11-27 19:49:05 +0000
commit8bd128dbdcfa494c5de67f1aa036784f0b3ac26e (patch)
treecef0bba69f1833802f43364a0cde6945601e665a /contrib/tcl/unix/tclUnixTime.c
parent5b30c2fb530aac2933dce3197e33362c844d3039 (diff)
downloadFreeBSD-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.c4
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(&currentTime);
+ struct tm *timeDataPtr = localtime(&curTime);
int timeZone;
timeZone = -(timeDataPtr->tm_gmtoff / 60);
OpenPOWER on IntegriCloud