Skip to content
Tcl Source Code Artifact [1d2034ef15]
Login

Artifact [1d2034ef15]

Artifact 1d2034ef155d04d2aee08a86bdc0d80de3ea163a947ac3cf89c937ef88bff1ba:

Ticket change [1d2034ef15] - Ticket [b8f575aa2398b0e4|b8f575aa23] <i>Tcl 9: eof errorneously flagged with not reported encoding read error</i> status still Open with 3 other changes by pooryorick on 2022-12-28 12:23:31.
D 2022-12-28T12:23:31.337
J icomment When\ssynchronous\sread\sencounters\sinvalid\sencoded\sdata,\sit's\sdesirable\sto\shave\saccess\sto\sthe\sdata\sthat\shas\sbeen\scorrectly\sdecoded\sup\sto\sthe\sinvalid\spoint.\s\sAsynchronous\s[read]\sdoesn't\shave\sthe\sthis\sproblem\sbecause\sits\ssemantics\sare\sdifferent.\s\sThis\snew\sfix\saccomplishes\sthis\sfor\ssynchronous\s[read]\sby\sstuffing\sthe\scorrectly\sread\sportion\sof\sthe\sdata\sinto\sthe\s"-result"\sentry\sof\sthe\sreturn\soptions\sdictionary.\sThis\sis\snew\sbehaviour,\sbut\sit's\snot\snearly\sas\sextreme\sas\sthe\sprevious\snew\sbehaviour\sof\shaving\ssynchronous\s[read]\sonly\sproduce\son\serror\son\sa\ssecond\scall.
J login pooryorick
J mimetype text/x-fossil-wiki
K b8f575aa2398b0e44b5a037326b9d75037e2da4a
U pooryorick
Z 5557252e89cb289e54e9395a8dd92957