Skip to content
Tcl Source Code Artifact [a9f0f9f4fd]
Login

Artifact [a9f0f9f4fd]

Artifact a9f0f9f4fdf28cb82986fddd36ce478366121233138a976d4535016f8b926dff:

Ticket change [a9f0f9f4fd] - Ticket [3019348fffffffff|3019348fff] <i>Nested lset can modify list on error</i> status still Open with 4 other changes by serhiy.storchaka on 2026-10-17 09:15:46.
D 2026-10-17T09:15:46.777
J foundin 8.6.18,\s9.0.5,\s9.1.0
J icomment Still\spresent\sin\s8.6,\s9.0\sand\s9.1:\ssince\sTIP\s331\s([41ad4c4b67])\sTclLsetFlat()\sappends\san\sempty\ssublist\sfor\san\sindex\sequal\sto\sthe\slist\slength\sbefore\schecking\sthe\sremaining\sindices,\sand\sdoes\snot\sremove\sit\swhen\sone\sof\sthem\sfails.\sInside\sa\sprocedure\sthe\sliteral\slist\sis\sshared\sand\scopied,\swhich\shides\sthe\sproblem.\nProposed\sfix\sin\sbranch\s[/timeline?r=lset-undo-append-on-error|lset-undo-append-on-error]:\sremove\sthe\sappended\ssublist\son\serror.\sTests\slset-17.1\sto\slset-17.3.
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K 3019348fffffffffffffffffffffffffffffffff
U serhiy.storchaka
Z 3b89439e9dc5f601eea839e7e28fb140