Skip to content
Tcl Source Code Artifact [04a31b4f0a]
Login

Artifact [04a31b4f0a]

Artifact 04a31b4f0a4dc6801ebb86524108f9cda83fd569dd00129abde18ffd027b02b2:

Ticket change [04a31b4f0a] - Ticket [31fedb885e801f4c|31fedb885e] <i>Tcl_ExprLong documentation omission</i> status still Open with 3 other changes by jan.nijtmans on 2025-03-26 19:54:44.
D 2025-03-26T19:54:44.987
J icomment In\sthe\scode,\sI\ssee\sthis:\r\n<pre>\r\n\s\s\s\sif\s(*exprstring\s==\s'\\0')\s{\r\n\s\s\s\s\s\s\s\s/*\r\n\s\s\s\s\s\s\s\s\s*\sLegacy\scompatibility\s-\sreturn\s0\sfor\sthe\szero-length\sstring.\r\n\s\s\s\s\s\s\s\s\s*/\r\n\r\n\s\s\s\s\s\s\s\s*ptr\s=\s0;\r\n\s\s\s\s}\selse\s{\r\n</pre>\r\n\r\nThis\stells\sme\sthat\sthis\sbehavior\swas\snot\sintended,\sbut\skept\sfor\r\ncompatibility\swith\sold\sversions\sof\sTcl.\r\n\r\nWouldn't\sit\sbe\sbetter\sto\sfix\sthis\sbehavior,\sgenerating\san\serror-message\sin\sthis\scase?
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K 31fedb885e801f4cc41c7b1f4438e27ce4a3667f
U jan.nijtmans
Z 6d2225939eb8e03325bd2b74225bf62e