Overview
| Artifact ID: | c26dedc1ce530ab2117f8c42957d68d679bb0a479d5ae2a58c480769cf65eb90 |
|---|---|
| Ticket: | e38dce74e28420b6c1f44fba604c4ed6193a6391
Command line built with list not properly quoted |
| User & Date: | jan.nijtmans on 2024-09-20 12:39:23 |
Changes
- icomment:
Proposed fix [9c2fe388134df0de|here] (with testcase) Note that the TclListObjAppendElements header documentation tells us: <pre> If the passed Tcl_Obj is not a list object, it will be converted to one and an error raised if the conversion fails. </pre> That's exactly the situation: The Tcl_Obj was not a list so it should be converted to one. Therefore TclListObjAppendElements() didn't behave as it was documented to behave. Thanks, Schelte, for your help. Anyone wants to review?
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"