<i>Tcl 9: eof erroneously flagged with not reported encoding read error</i> status still Pending with 3 other changes
by
.
D 2023-02-18T10:23:42.537
J icomment At\sthis\spoint,\swe\shave\sa\sproblem.\s\sJan,\syou\shave\staken\sthe\sfollowing\sactions:\r\n\r\n\s\s\s\s#\s\sYou\smade\scommit\s[d156af9fb76dd2f4],\swhich\sbroke\s[reads]\sand\s[gets].\s\sIn\sthe\scase\sof\s[read]\san\sencoding\serror\swill\snever\sbe\ssurfaced\sunless\sthe\scaller\sremembers\sto\scall\s[read]\sagain,\sand\sthat\sis\snew\ssemantics\sfor\sthe\scommand.\s\sIn\sthe\scase\sof\s[gets]\sthe\scommand\snot\sonly\swould\shave\sthese\snew\ssemantics,\sbut\salso\ssimply\shangs\sindefinitely\swhen\san\sencoding\serror\soccurs.\s\sSuch\sa\schange\sto\sTcl\ssemantics\srequires\san\saccepted\sTIP,\swhich\syou\sdid\snot\sbother\swith.\r\n\t#\s\sYou\sreverted\smy\scommit,\s[00995080d6378c6d],\swhich\sensured\sno\sdata\sloss,\sin\sthe\scase\sof\san\sencoding\serror,\sby\sreturning\ssuccessfully-read\sdata\sin\sthe\sreturn\soptions\sdictionary,\swhich\srequired\sno\schange\sto\sthe\scurrent\sfunction\ssignatures\sof\s[read]\sand\s[gets],\sand\spreserved\sexisting\ssemantics.\s\sYour\sreasoning\swas\sthat\sadding\sa\snew\skey\sto\sthe\sreturn\soptions\sdictionary\srequires\sa\sTIP.\r\n\t#\s\sI\ssubsequently\ssubmitted\sTIP\s653,\swhich\sspecifies\sthe\snew\skey\sin\sthe\sreturn\soptions\sdictionary.\s\sI\srequested\sa\svote,\son\sit,\sand\syou\srefused\sto\scall\sthe\svote.\r\n\t#\s\sI\smade\sa\snew\scommit,\s[11c7f071cb0f3e9f],\swhich\somitted\sthose\sparts\sof\sthe\sfix\sthat\schange\sthe\sreturn\soptions\sdictionary\sso\sthat\sno\sTIP\swas\snecessary.\s\sYou\sreverted\sthis\scommit\son\sthe\sgrounds\sthat\sit\sloses\sdata.\r\n\r\nSo\sif\sI\scommit\sa\sfix\sthat\sdoesn't\slose\sdata,\syou\srevert\sit\son\sthe\sgrounds\sthat\r\nit\schanges\sthe\sreturn\soptions\sdictionary,\sand\sif\sI\scommit\sa\sfix\sthat\sdoes\slose\r\ndata,\syou\srevert\sit\son\sthe\sgrounds\sthat\sthe\scaller\scan't\sget\sat\sthat\sdata.\r\nMeanwhile\syou\shappily\shave\syour\sown\sun-TIP'd\ssemantics-changing\scommit\ssitting\r\nin\sboth\score-8-branch\sand\strunk.\s\sThis\ssituation\sis\sunfair:\s\sThere's\sa\sset\r\nrules\sfor\syou,\sand\sa\sdifferent\sset\sof\srules\sfor\sothers.\s\sIf\smy\scommits\scan't\sbe\r\non\score-8-branch\sor\strunk,\sthen\syou\sshould\sat\sleast\skeep\syour\scommit\soff\sthose\r\nbranches\sas\swell\suntil\sthey\sare\sproperly\saccepted\svia\sa\sTIP.\r\n\r\nI've\srepaired\sthe\ssemantics\sof\s[read]\sand\s[gets]\son\strunk\sby\sreverting\syour\r\nfix.\s\sYou\sshould\snot\sreinstate\sit\sunilaterally.
J login pooryorick
J mimetype text/x-fossil-wiki
K b8f575aa2398b0e44b5a037326b9d75037e2da4a
U pooryorick
Z 30d7d0df00000a5244f28f2220ccb9b9