summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-01-14 17:51:16 (GMT)
committerhobbs <hobbs>2003-01-14 17:51:16 (GMT)
commitd4ef1e892eaf4ac505ca0b50bbec1d3ec472161a (patch)
treefcca8f2c996fb4403a0538ac8a3d5b8a85c33fa1
parent34dbae7d6c29485684a2de0432b01702ce074d54 (diff)
downloadtcl-d4ef1e892eaf4ac505ca0b50bbec1d3ec472161a.zip
tcl-d4ef1e892eaf4ac505ca0b50bbec1d3ec472161a.tar.gz
tcl-d4ef1e892eaf4ac505ca0b50bbec1d3ec472161a.tar.bz2
* generic/tclClock.c (FormatClock): corrected typo that
incorrectly conditionally defined savedTZEnv and savedTimeZone.
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclClock.c4
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 <jeffh@ActiveState.com>
+
+ * generic/tclClock.c (FormatClock): corrected typo that
+ incorrectly conditionally defined savedTZEnv and savedTimeZone.
+
2003-01-13 Mo DeJong <mdejong@users.sourceforge.net>
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