summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2025-07-03 10:42:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2025-07-03 10:42:21 (GMT)
commitb4169bc203c01c17f3ad5f3d854beaf0ef826aad (patch)
tree008740758e54954c694256fcaf6e15a5f8d0f11e
parent4e8007f55df60419ec631a02468b26bcf5e16544 (diff)
downloadtcl-b4169bc203c01c17f3ad5f3d854beaf0ef826aad.zip
tcl-b4169bc203c01c17f3ad5f3d854beaf0ef826aad.tar.gz
tcl-b4169bc203c01c17f3ad5f3d854beaf0ef826aad.tar.bz2
Fix [6b8e39e83]: On Unix, IsTimeNative() always defined but not always used
-rw-r--r--changes.md11
-rw-r--r--unix/tclUnixTime.c2
2 files changed, 13 insertions, 0 deletions
diff --git a/changes.md b/changes.md
index 3a03f57..530fd14 100644
--- a/changes.md
+++ b/changes.md
@@ -4,6 +4,17 @@ changes to the Tcl source code at
> [Tcl Source Code](https://core.tcl-lang.org/tcl/timeline)
+Release Tcl 9.0.3 arises from the check-in with tag `core-9-0-3`.
+
+Tcl patch releases have the primary purpose of delivering bug fixes
+to the userbase.
+
+# Bug fixes
+ - [On Unix, IsTimeNative() always defined but not always used](https://core.tcl-lang.org/tcl/tktview/6b8e3)
+
+# Updated bundled packages, libraries, standards, data
+ - sqlite3 3.50.2
+
Release Tcl 9.0.2 arises from the check-in with tag `core-9-0-2`.
Tcl patch releases have the primary purpose of delivering bug fixes
diff --git a/unix/tclUnixTime.c b/unix/tclUnixTime.c
index 29146aa..241065b 100644
--- a/unix/tclUnixTime.c
+++ b/unix/tclUnixTime.c
@@ -43,11 +43,13 @@ GetTime(
tclGetTimeProcPtr(timePtr, tclTimeClientData);
}
+#if defined(NO_GETTOD) || defined(TCL_WIDE_CLICKS)
static inline int
IsTimeNative(void)
{
return tclGetTimeProcPtr == NativeGetTime;
}
+#endif
/*
*----------------------------------------------------------------------