Tcl Source Code

Check-in [7325d81876]
Login

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

Overview
Comment:Fix [13d3c0d764]: lset on an empty list accepted a huge index as end+1. In the special case for empty lists, accept the index only if it is end+1 when evaluated for a list of one element; the index encoding is not changed.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | lset-empty-huge-index
Files: files | file ages | folders
SHA3-256: 7325d81876fd4056c1c26f3dea8e4c120ee8ae9fb178cbbafe6e840e8bce8472
User & Date: serhiy.storchaka 2026-10-17 09:17:56.829
Context
2026-10-29
10:15
Rebase lset-empty-huge-index to main. Fix [13d3c0d764]: lset on an empty list accepted a huge index ... closed check-in: 62a9a4d3c2 user: serhiy.storchaka tags: lset-empty-huge-index
2026-10-17
09:17
Fix [13d3c0d764]: lset on an empty list accepted a huge index as end+1. In the special case for empt... closed check-in: 7325d81876 user: serhiy.storchaka tags: lset-empty-huge-index
07:20
Fix [2dff98e079]: format %A garbles negative, padded and infinite values check-in: 9336b96c43 user: serhiy.storchaka tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclListObj.c.
Changes to tests/lset.test.