Overview
| Artifact ID: | 84373ee3a46d5fb3a17651efdeb065d7ce374577aa1ec26d0e0d0dde5d9cb556 |
|---|---|
| Ticket: | a366c6efee1f70cc9b27f949d41afe3ee77c0f08
[ledit] corrupts string literal value |
| User & Date: | dgp on 2023-07-14 14:59:26 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
The tests ledit-4.2 and socket_inet-13.1 interact and cause failure. The interaction can be summarized by this demo script: % proc demo {} { set l { } puts [list [ledit l 1 1] $l] set result foo append result " " bar } % demo {} {} foobar The result "foobar" is wrong. It should be "foo bar". It appears that the string literal " " has had its string value transformed to "" before the append. This might be the result of not managing value-sharing properly when the [ledit] command changes the value of $l from { } to {}. Hope that's enough to lead the [ledit] keepers to a fix. - foundin changed to: "trunk"
- is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- private_contact changed to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "[ledit] corrupts string literal value"
- type changed to: "Bug"