Skip to content
Tcl Source Code History Of Ticket 1f1b168626
Login

History Of Ticket 1f1b168626

Artifacts Associated With Ticket 1f1b168626

  1. Ticket change [29d43fbfc3] (rid 208435) by pointsman on 2023-01-27 16:37:24:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized to:
      StringObj.3 documents amongst others the API funktions 
      
      Tcl_GetStringFromObj(objPtr, lengthPtr)
      
      Tcl_GetUnicodeFromObj(objPtr, lengthPtr)
      
      The argument lengthPtr isn't documented as all the other arguments (and in the Tcl 8 version of the man page). 
      
      Obviously an oversight/mistake. Should be added, since just the type of that argument changed in Tcl 9.
      
    5. is_private initialized to: "0"
    6. login: "pointsman"
    7. priority initialized to: "5 Medium"
    8. resolution initialized to: "None"
    9. severity initialized to: "Minor"
    10. status initialized to: "Open"
    11. submitter initialized to: "pointsman"
    12. subsystem initialized to: "69. Other"
    13. title initialized to: "Tcl 9 StringObj.3 - lengthPtr not documented"
    14. type initialized to: "Bug"
  2. Ticket change [e219e9e03e] (rid 208445) by jan.nijtmans on 2023-01-27 20:23:30:

    1. assignee changed to: "jan.nijtmans"
    2. icomment:
      [https://core.tcl-lang.org/tcl/file?name=doc/StringObj.3&ci=4fb77727c5bced3a&ln=121]
      
      ???
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"
  3. Ticket change [b0098d975a] (rid 208449) by pointsman on 2023-01-27 22:58:44:

    1. icomment:
      Ah, then this perhaps an markup / formating error.
      
      If I look at the StringObj.3 man page on a debian 11.6 in the doc directory with
      
      man -l StringObj.3
      
      then I see
      
             size_t | (int)                                The    location     where
                                                           Tcl_GetStringFromObj will
                                                           store  the  length  of  a
                                                           value's  string represen‐
                                                           tation.   May   be   (int
                                                           *)NULL when not used.
      
      
      I missed initially because I searched for "lengthPtr".
      
      For me on that box (with man version 2.9.4) I don't see "lengtPtr (out)" which is indeed in the man page source code.
      
    2. login: "pointsman"
    3. mimetype: "text/plain"