Skip to content
Tcl Source Code Artifact [b7e16b76e3]
Login

Artifact [b7e16b76e3]

Artifact b7e16b76e3649abb43ffff72eda11a7491c3a294edeb9f18eae6a2b8d75a902c:

Ticket change [b7e16b76e3] - Ticket [fa3d9fd818fa0072|fa3d9fd818] <i>[fcopy $chan1 $chan2 -size $size] is not [puts -nonewline $chan2 [read $chan1 -size $size]</i> status still Open with 3 other changes by pooryorick on 2023-04-06 10:51:52.
D 2023-04-06T10:51:52.280
J icomment Fixed\sin\s[39a45eb8ff].\sI\sthink\sthe\sproper\sfix\sis\sto\sstop\susing\sNULL\sto\r\nrepresent\sthe\sbinary\sencoding\sin\s<code>ChannelState.encoding</code>.\r\n<code>iso8859-1</code>\sis\sthe\sencoding\sfor\shandling\sbinary\sdata,\sand\susing\sit\r\nbrings\sthe\simplementation\smore\sin\sline\swith\sthe\sconceptual\sdesign\sand\salso\r\nreduces\sthe\snumber\sof\sdifferent\scode\spaths\sin\sIO\soperations.\s\sOne\snew\saspect\sof\r\nthis\sfix\sis\sthat\ssetting\sthe\sencoding\sto\s"binary"\salso\ssets\sthe\sprofile\sto\r\nstrict,\swhich\sis\sneeded\sto\smake\ssome\stests\spass,\sbut\sshould\salso\shelp\r\ndevelopers\savoid\ssilent\sdata\scorruption\sfor\sboth\sinput\sand\soutput.\s\sFor\r\nexample,\sin\stest\sio-52.10\sthe\sprevious\sresult\swas\snothing\ssensible.\s\sNow\sthe\r\nresult\sis\san\serror\sthat\slets\sthe\sprogrammer\sknow\sstrange\sthings\sare\safoot\sin\r\ntheir\scode.\s\sThis\scommit\salso\spaves\sthe\sway\sfor\sfurther\ssimplification\sof\sthe\r\ncode\sin\stclIO.c.
J login pooryorick
J mimetype text/x-fossil-wiki
K fa3d9fd818fa0072b60dcd14614ebf33d90e4d6b
U pooryorick
Z 8829f62c34edd8c3a2337c2cd7dd4eec