From 0f700f006751c9e8e75100f86a946ba3f8fe2859 Mon Sep 17 00:00:00 2001 From: pooryorick Date: Sat, 26 Jan 2019 20:58:24 +0000 Subject: Remove unnecessary inclusion of tclPort.h in tclIntDecls.h --- generic/tclIntDecls.h | 1 - 1 file changed, 1 deletion(-) diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h index eda90b4..1991c21 100644 --- a/generic/tclIntDecls.h +++ b/generic/tclIntDecls.h @@ -15,7 +15,6 @@ #ifndef _TCLINTDECLS #define _TCLINTDECLS -#include "tclPort.h" #undef TCL_STORAGE_CLASS #ifdef BUILD_tcl -- cgit v0.12 From 1dec12d61848ab939bde91eb6e3a095222cf4236 Mon Sep 17 00:00:00 2001 From: sebres Date: Mon, 28 Jan 2019 16:12:56 +0000 Subject: fixes [4ee9b4f3e965a7da5133]: result of command `time` overflows by single iteration longer as 35 minutes (uses wide-int instead of int as result now). --- generic/tclCmdMZ.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c index db4e57b..b1ba3ae 100644 --- a/generic/tclCmdMZ.c +++ b/generic/tclCmdMZ.c @@ -3931,7 +3931,7 @@ Tcl_TimeObjCmd( * Use int obj since we know time is not fractional. [Bug 1202178] */ - objs[0] = Tcl_NewIntObj((count <= 0) ? 0 : (int) totalMicroSec); + objs[0] = Tcl_NewWideIntObj((count <= 0) ? 0 : (Tcl_WideInt)totalMicroSec); } else { objs[0] = Tcl_NewDoubleObj(totalMicroSec/count); } -- cgit v0.12