Skip to content
Tcl Source Code Artifact [6e977ba355]
Login

Artifact [6e977ba355]

Artifact 6e977ba3559c97c299fc66d476968cfb0898d6238b3a27be7a3c8cd3f49d6549:

Ticket change [6e977ba355] - New ticket [597c31a3876f1cea|597c31a387] <i>outdated comment in ScanNumber()</i>. by chrstphrchvz on 2022-02-17 09:28:49.
D 2022-02-17T09:28:49.087
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment There\sis\sa\scomment\sin\s<tt>ScanNumber()</tt>\sthat\sseems\soutdated\sand/or\sredundant;\sI\ssuggest\sremoving\sit\s(see\sattached\spatch).\r\n\r\nFrom\swhat\sI\scan\stell,\sa\slong\stime\sago\s(Tcl\s8.0),\s<tt>ScanNumber()</tt>\sused\sto\sdeclare\s<tt>buffer</tt>\sto\sbe\s<tt>char*</tt>\sof\sunspecified\ssignedness.\sEventually\ssome\sportability\shandling\sand\sexplanatory\scomment\swere\sadded.\sBut\snot\stoo\slong\safter\sthis,\s<tt>ScanNumber()</tt>\sdeclared\s<tt>buffer</tt>\sto\sbe\s<tt>unsigned\schar*</tt>\sand\sremoved\sa\sbunch\sof\scasts\sto\s<tt>unsigned\schar</tt>,\sbut\sleft\sthe\scomment\sas-is.\r\n\r\nBoth\sthe\scomment\sand\sthe\stype\sdeclaration\schange\sappeared\sin\sTcl\s8.1a1,\sand\sin\sthe\scheck-in\shistory\sI\sonly\sfound\sthe\scumulative\schanges\sfor\s8.1a2:\s[https://core.tcl-lang.org/tcl/fdiff?v1=c5dc6b7b98a880a4&v2=0ad90ea0fbbdd13b],\sand\sI\sdid\snot\slocate\sa\sremark\sabout\sit\sin\sthe\schange\slog\sfiles.\sHowever\sa\spatch\sposted\sto\scomp.lang.tcl\sseems\sto\sconfirm\sthat\sthe\scomment\sis\solder,\sand\sthat\sthere\swas\sintention\sto\sremove\sit\s(at\sleast\sat\sone\spoint):\s[https://groups.google.com/g/comp.lang.tcl/c/4hFpmsMDFOQ/m/jGgcGwvT_LoJ]
J is_private 0
J login chrstphrchvz
J priority 5\sMedium
J resolution None
J severity Cosmetic
J status Open
J submitter chrstphrchvz
J subsystem -\sNew\sBuiltin\sCommands
J title outdated\scomment\sin\sScanNumber()
J type Patch
K 597c31a3876f1ceaa1ed80c779c22b9bd2e57ff0
U chrstphrchvz
Z a0e5857060a6347b2f8114ced673c9c9