Tcl Source Code

Check-in [f4176f1e45]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix [3d978e0a84]: [clock -timezone ~/...] in a safe interp made the parent source a file from a home directory, since the time zone path check did not reject a leading "~" (regression in 8.6.16). Reject it in LoadTimeZoneFile and LoadZoneinfoFile, and add tests.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | clock-unsafe-timezone-8-6
Files: files | file ages | folders
SHA3-256: f4176f1e4516af67f926cfb5fa1eee070a4be60c3e76559bf9b420e1aa70286e
User & Date: serhiy.storchaka 2026-11-03 14:18:23.315
Context
2026-11-03
15:56
Fix [3d978e0a84]: 'clock -timezone' escapes safe interp check-in: ee4f07c809 user: jan.nijtmans tags: core-8-6-branch
14:18
Fix [3d978e0a84]: [clock -timezone ~/...] in a safe interp made the parent source a file from a home... closed check-in: f4176f1e45 user: serhiy.storchaka tags: clock-unsafe-timezone-8-6
2026-11-01
21:32
Update changes file check-in: ae9857efd1 user: jan.nijtmans tags: core-8-6-branch
Changes
Unified Diff Side-by-Side Diff Patch
Changes to library/clock.tcl.
Changes to tests/clock.test.