Artifacts Associated With Ticket a97680cbed
Ticket change [8cadf12d2f] (rid 216739) by chrstphrchvz on 2023-07-25 20:57:43:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
The comment documenting <tt>Tcl_FSJoinToPath()</tt> says: <pre> * The objects in the array given will temporarily have their refCount * increased by one, and then decreased by one when this function exits * (which means if they had zero refCount when we were called, they will * be freed). </pre> This appears to be outdated. It has been documented in 8.7 ([62834021ed4c], [https://www.tcl-lang.org/man/tcl8.7/TclLib/FileSystem.html#M47]) that the reference counts of values in the <tt>objv</tt> array must be nonzero. Those reference counts used to be temporarily incremented by <tt>Tcl_ListObjAppendElement()</tt>, but that was removed in [55c8c6c1552f], and <tt>TclJoinPath()</tt> currently seems to leave reference counts of inputs as-is.
- foundin initialized to: "8.6.13"
- is_private initialized to: "0"
- login: "chrstphrchvz"
- priority initialized to: "5 Medium"
- private_contact initialized to: "6133eb3026f9b10aa9b7b48da92ae2834fc225b0"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "chrstphrchvz"
- subsystem initialized to: "37. File System"
- title initialized to: "Tcl_FSJoinToPath(): outdated comment"
- type initialized to: "Bug"