Artifacts Associated With Ticket 3602289fffffffffffffffffffffffffffffffff
Ticket change [4c57cc1be6] (rid 126875) by pooryorick on 2013-01-27 16:56:10:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
EnvTraceProc returns a non-null pointer to an error string if the environment variable doesn't exist.. The attached patch, instead of returning an error, checks to see if the corresponding env element exists, and unsets it if it does. With this changes, the test suite still passes for 8.5 and 8.6 (trunk). This change is relevant to bug 3057639
- foundin initialized to: "current: 8.6.0"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "pooryorick"
- subsystem initialized to: "08. Environment Variables"
- title initialized to: "EnvTraceProc errors when env var doesn't exist"
- type initialized to: "Bug"
Ticket change [80134715dc] (rid 97671) by pooryorick on 2013-01-27 23:56:11:
- icomment:
File Added - 459745: tclEnvTraceProc.diff
- login: "pooryorick"
- mimetype: "text/plain"
- username: "pooryorick"
- icomment:
Add attachment "tclEnvTraceProc.diff" [da4fab2c6b] (rid 107751) by pooryorick on 2013-01-27 23:56:11.
Ticket change [133bdc6dae] (rid 259321) by serhiy.storchaka on 2026-10-19 18:15:21:
- foundin changed to: "8.6.18, 9.0.5, 9.1.0"
- icomment:
Still present in 8.6, 9.0 and 9.1 in a narrower form: after another interp unsets an env variable, reading it here fails, but the stale element stays, so <nowiki>[info exists ::env(X)]</nowiki> still returns 1. The lappend case no longer errors. Proposed fix in branch [/timeline?r=env-stale-element|env-stale-element], also for [67fd4f973a] and [845241ffff]: the read trace removes the stale element and keeps the error. Unlike the attached patch, <nowiki>[set env(missing)]</nowiki> still fails, and elements without a value are kept, since they may hold traces (env-7.3, [9b4702]). Tests env-11.1 to 11.3.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
Ticket change [6219c171da] (rid 259358) by jan.nijtmans on 2026-10-20 10:20:23:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2461333.930831146"
- closer changed to: "jan.nijtmans"
- comment changed to:
EnvTraceProc returns a non-null pointer to an error string if the environment variable doesn't exist.. The attached patch, instead of returning an error, checks to see if the corresponding env element exists, and unsets it if it does. With this changes, the test suite still passes for 8.5 and 8.6 (trunk). This change is relevant to bug 3057639
- icomment: "Dup of [845241ffff]"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Duplicate"
- severity changed to: "Minor"
- status changed to: "Closed"