summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixTime.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-06-25 15:56:06 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-06-25 15:56:06 (GMT)
commit7f06d7ab2eacd2fe28993b637a64ae8f19d3e3f6 (patch)
tree28054fcddf0708d2dc642db27633c09188f3fbdf /unix/tclUnixTime.c
parentac5ee6e44ae540a1ef6e1d53ebe6f4d9820413fc (diff)
downloadtcl-7f06d7ab2eacd2fe28993b637a64ae8f19d3e3f6.zip
tcl-7f06d7ab2eacd2fe28993b637a64ae8f19d3e3f6.tar.gz
tcl-7f06d7ab2eacd2fe28993b637a64ae8f19d3e3f6.tar.bz2
merge updates from 8.5 branch
Diffstat (limited to 'unix/tclUnixTime.c')
-rw-r--r--unix/tclUnixTime.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/unix/tclUnixTime.c b/unix/tclUnixTime.c
index 69367b5..d81228b 100644
--- a/unix/tclUnixTime.c
+++ b/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.
*
- * RCS: @(#) $Id: tclUnixTime.c,v 1.30.2.2 2007/11/12 19:18:24 dgp Exp $
+ * RCS: @(#) $Id: tclUnixTime.c,v 1.30.2.3 2008/06/25 15:56:27 dgp Exp $
*/
#include "tclInt.h"
@@ -603,9 +603,8 @@ NativeGetTime(
ClientData clientData)
{
struct timeval tv;
- struct timezone tz;
- (void) gettimeofday(&tv, &tz);
+ (void) gettimeofday(&tv, NULL);
timePtr->sec = tv.tv_sec;
timePtr->usec = tv.tv_usec;
}