<i>Tcl 9: eof errorneously flagged with not reported encoding read error</i> status still Open with 3 other changes
by
.
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