Skip to content
Tcl Source Code Artifact [ffdb138879]
Login

Artifact [ffdb138879]

Artifact ffdb1388796f78b86e1c3599d20a657b823a30ad:

Ticket change [ffdb138879] - Ticket [eb6b68c1a9f3d07e|eb6b68c1a9] <i>Broken case in compiled [string replace]</i> status still Open with 4 other changes by dgp on 2016-10-13 14:01:13.
D 2016-10-13T14:01:13.435
J assignee dkf
J icomment \r\nThe\sstanza\sof\scode:\r\n\r\nhttp://core.tcl.tk/tcl/artifact/57cea04b21f64a97?ln=5731-5736\r\n\r\nis\suntil\snow\suntested.\r\n\r\nThe\sstanza\sis\sunreliable\sbecause\sit\smakes\suse\sof\r\nTcl_SetObjLength()\swithout\saccounting\sfor\sthat\r\nroutine's\sbizarre\sdual-mode\swhere\sit\sbehaves\r\nfunctionally\sdifferently\swhether\sor\snot\sits\r\n(Tcl_Obj\s*)\sargument\spoints\sto\sa\svalue\swith\r\nan\sexisting\sstring\srep\sor\sis\spure\sunicode.\r\nIt\scan\sact\son\sbytes\sor\son\schars,\sbut\sfor\sproper\r\nfunctioning\shere,\sit\swould\sneed\sto\sbe\sforced\r\nto\sreliably\soperate\son\schars.\r\n\r\nSimplest\sfix\swould\sbe\sjust\sto\sremove\sthis\sstanza\r\nand\sforgo\sthe\sattempted\soptimization\sin\s\sthe\r\n(rare?)\scircumstance\sthat\slack\sof\ssharing\spermits\sit.
J login dgp
J mimetype text/plain
K eb6b68c1a9f3d07e0bceeb2a3b47a5c4d343d096
U dgp
Z a34ab4977ae9a1ce8de88fc47c820126