diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2025-07-03 10:42:21 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2025-07-03 10:42:21 (GMT) |
| commit | b4169bc203c01c17f3ad5f3d854beaf0ef826aad (patch) | |
| tree | 008740758e54954c694256fcaf6e15a5f8d0f11e | |
| parent | 4e8007f55df60419ec631a02468b26bcf5e16544 (diff) | |
| download | tcl-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.md | 11 | ||||
| -rw-r--r-- | unix/tclUnixTime.c | 2 |
2 files changed, 13 insertions, 0 deletions
@@ -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 /* *---------------------------------------------------------------------- |
