|
2026-10-07
| ||
| 21:33 | • Ticket [597c31a387] outdated comment in ScanNumber() status still Open with ... artifact: 28ea515130 user: chrstphrchvz | |
|
2022-02-17
| ||
| 09:29 | • Add attachment char-comment.diff to ticket [597c31a3876f1cea|597c31a387... artifact: 12c1360006 user: chrstphrchvz | |
| 09:29 | • Ticket [597c31a387] outdated comment in ScanNumber() status still Open with ... artifact: f9bc05862d user: chrstphrchvz | |
| 09:28 | • New ticket [597c31a387]. artifact: 6e977ba355 user: chrstphrchvz | |
outdated comment in ScanNumber()
From what I can tell, a long time ago (Tcl 8.0), ScanNumber() used to declare buffer to be char* of unspecified signedness. Eventually some portability handling and explanatory comment were added. But not too long after this, ScanNumber() declared buffer to be unsigned char* and removed a bunch of casts to unsigned char, 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
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.