Skip to content
Tcl Source Code Artifact [dc244857c8]
Login

Artifact [dc244857c8]

Artifact dc244857c826b91c50e06b1053ff445bf49bfbe8de9431a00933bac376939e56:

Ticket change [dc244857c8] - Ticket [eb816947b39bcab2|eb816947b3] <i>Issue with binary string and split command</i> status still Open with 3 other changes by crn on 2019-09-13 13:03:44.
D 2019-09-13T13:03:44.722
J icomment Sorry,\sI\sam\snot\sable\sto\sreproduce\sit\swith\sa\ssimple\sscript.\sIt\shappens\sin\sa\scomplex\sprogram,\sthe\sstring\swe\swanted\sto\ssplit\scomes\sfrom\sa\sread\scommand\swhile\sthe\sfile\sis\swritten\s(not\ssure\sif\sthis\smatter).\sWhile\slooking\sat\sC\scode\sthrough\sa\sdebugger,\swe\ssaw\sthat\sTcl_StringObj\slength\swas\sok,\s"bytes"\spointer\swas\spointing\son\sa\sprevious\sstring\s(longer\sthan\sthe\scurrent,\swe\sclearly\solder\svalues\safter\sthe\scurrent\sstring)\sbut\sno\s'\\0'\sat\send\sof\scurrent\sstring.\r\nSo\sthe\sscenario\simplies\sa\sbuffer\sreusage\sand\sreading\sa\sfile\swith\svariable\schunk\ssize.
J login crn
J mimetype text/plain
K eb816947b39bcab21dfb538c10029ee4901d7341
U crn
Z 1651aa615ded5697f86f4789ae072858