From d4ef1e892eaf4ac505ca0b50bbec1d3ec472161a Mon Sep 17 00:00:00 2001 From: hobbs Date: Tue, 14 Jan 2003 17:51:16 +0000 Subject: * generic/tclClock.c (FormatClock): corrected typo that incorrectly conditionally defined savedTZEnv and savedTimeZone. --- ChangeLog | 5 +++++ generic/tclClock.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f81c1cf..f6f6ab4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-01-14 Jeff Hobbs + + * generic/tclClock.c (FormatClock): corrected typo that + incorrectly conditionally defined savedTZEnv and savedTimeZone. + 2003-01-13 Mo DeJong Fix mingw build problems and compiler warnings. diff --git a/generic/tclClock.c b/generic/tclClock.c index 774f72a..2d09974 100644 --- a/generic/tclClock.c +++ b/generic/tclClock.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclClock.c,v 1.17 2003/01/14 02:06:11 mdejong Exp $ + * RCS: @(#) $Id: tclClock.c,v 1.18 2003/01/14 17:51:16 hobbs Exp $ */ #include "tcl.h" @@ -263,7 +263,7 @@ FormatClock(interp, clockVal, useGMT, format) char *p; int result; time_t tclockVal; -#if defined(HAVE_TM_ZONE) && !defined(WIN32) +#if !defined(HAVE_TM_ZONE) && !defined(WIN32) int savedTimeZone = 0; /* lint. */ char *savedTZEnv = NULL; /* lint. */ #endif -- cgit v0.12