Skip to content
Tcl Source Code History Of Ticket 597c31a3876f1cea
Login

History Of Ticket 597c31a3876f1cea

Artifacts Associated With Ticket 597c31a3876f1cea

  1. Ticket change [6e977ba355] (rid 198201) by chrstphrchvz on 2022-02-17 09:28:49:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      There is a comment in <tt>ScanNumber()</tt> that seems outdated and/or redundant; I suggest removing it (see attached patch).
      
      From what I can tell, a long time ago (Tcl 8.0), <tt>ScanNumber()</tt> used to declare <tt>buffer</tt> to be <tt>char*</tt> of unspecified signedness. Eventually some portability handling and explanatory comment were added. But not too long after this, <tt>ScanNumber()</tt> declared <tt>buffer</tt> to be <tt>unsigned char*</tt> and removed a bunch of casts to <tt>unsigned char</tt>, but left the comment as-is.
      
      Both the comment and the type declaration change appeared in Tcl 8.1a1, and in the check-in history I only found the cumulative changes for 8.1a2: [https://core.tcl-lang.org/tcl/fdiff?v1=c5dc6b7b98a880a4&v2=0ad90ea0fbbdd13b], and I did not locate a remark about it in the change log files. However a patch posted to comp.lang.tcl seems to confirm that the comment is older, and that there was intention to remove it (at least at one point): [https://groups.google.com/g/comp.lang.tcl/c/4hFpmsMDFOQ/m/jGgcGwvT_LoJ]
      
    5. is_private initialized to: "0"
    6. login: "chrstphrchvz"
    7. priority initialized to: "5 Medium"
    8. resolution initialized to: "None"
    9. severity initialized to: "Cosmetic"
    10. status initialized to: "Open"
    11. submitter initialized to: "chrstphrchvz"
    12. subsystem initialized to: "- New Builtin Commands"
    13. title initialized to: "outdated comment in ScanNumber()"
    14. type initialized to: "Patch"
  2. Ticket change [f9bc05862d] (rid 198202) by chrstphrchvz on 2022-02-17 09:29:16:

    1. login: "chrstphrchvz"
    2. mimetype: "text/plain"
    3. subsystem changed to: "16. Commands A-H"
  3. Add attachment "char-comment.diff" [12c1360006] (rid 198203) by chrstphrchvz on 2022-02-17 09:29:42.

  4. Ticket change [28ea515130] (rid 257430) by chrstphrchvz on 2026-10-07 21:33:14:

    1. icomment:
      The comp.lang.tcl post I linked to was a reply by Scott Stanton, dated 1997-10-28, to a thread titled "64 bit problem in Tcl 8.0". Clicking the Google Groups link now only brings up an error 429 page, though for now it is still possible to start from groups.google.com, search for comp.lang.tcl, and then search for the thread.
      
    2. login: "chrstphrchvz"
    3. mimetype: "text/x-fossil-wiki"