summaryrefslogtreecommitdiffstats
path: root/generic/tclClock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-11 11:02:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-11 11:02:19 (GMT)
commitb98b592315cd0256124da3dec17e4c2afd3c78c9 (patch)
treea97b170dee8ccffebfd5d5e080b6c5c276239d7a /generic/tclClock.c
parentd3c1221322efe35af9663315a37d0aa97bd8f5ea (diff)
downloadtcl-b98b592315cd0256124da3dec17e4c2afd3c78c9.zip
tcl-b98b592315cd0256124da3dec17e4c2afd3c78c9.tar.gz
tcl-b98b592315cd0256124da3dec17e4c2afd3c78c9.tar.bz2
Fix [1acd172c424b57c9] (by just reverting the change causing this). Not crucial for TIP #688. Also, make it compile/run using -DTCL_NO_DEPRECATED=1
Diffstat (limited to 'generic/tclClock.c')
-rw-r--r--generic/tclClock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclClock.c b/generic/tclClock.c
index c0be910..cf5b7d5 100644
--- a/generic/tclClock.c
+++ b/generic/tclClock.c
@@ -2164,7 +2164,7 @@ ConvertUTCToLocal(
if (dataPtr->gmtTZName == NULL) {
Tcl_Obj *tzName;
tzdata = ClockGetTZData(clientData, interp, timezoneObj);
- if ( TclListObjGetElements(interp, tzdata, &rowc, &rowv) != TCL_OK
+ if ( TclListObjGetElementsM(interp, tzdata, &rowc, &rowv) != TCL_OK
|| Tcl_ListObjIndex(interp, rowv[0], 3, &tzName) != TCL_OK) {
return TCL_ERROR;
}