Skip to content
Tcl Source Code History Of Ticket e56486a2
Login

History Of Ticket e56486a2

Artifacts Associated With Ticket e56486a2

  1. Ticket change [8e77e0a22e] (rid 248081) by apnadkarni on 2025-11-12 06:30:01:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      String length parameters to several C functions are documented (in both 8.6  and 9.0) as *If the length is negative, the encoding-specific length of the string is used.*
      
      While 8.6 correctly checked for negative lengths as `(srcLen < 0)`, this has been changed in 9.0 to `(srcLen == TCL_INDEX_NONE)`. Aside from changing the **documented** semantics, this also has resulted in the functions not handling the case of negative values other than -1.
      
      The checks should be reverted back to checking for negative values as opposed to checking for `TCL_INDEX_NONE`.
      
    5. foundin initialized to: "9.0"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "apnadkarni"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to:
      Improper comparison with TCL_INDEX_NONE to indicate null-terminated strings
      
    16. type initialized to: "Bug"
  2. Ticket change [7e046e0a3d] (rid 248271) by apnadkarni on 2025-11-14 17:31:41:

    1. closedate changed to: "2460994.23034319"
    2. closer changed to: "apnadkarni"
    3. icomment: "Fixed in [aeba91beb2]."
    4. login: "apnadkarni"
    5. mimetype: "text/x-fossil-plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"