Skip to content
Tcl Source Code Artifact [b4a0d8eca3]
Login

Artifact [b4a0d8eca3]

Artifact b4a0d8eca33b2b47e89e525138ba6e51e764881b992bb36173cda31902d96859:

Ticket change [b4a0d8eca3] - Ticket [b8f575aa2398b0e4|b8f575aa23] <i>Tcl 9</i> status still Open with 4 other changes by oehhar on 2022-12-09 09:30:06.
D 2022-12-09T09:30:06.472
J icomment Thanks\sfor\slooking\sinto\sthis.\sThis\sis\sall\sdifficult\sand\snew\scode.\r\n\r\nFor\sme,\san\s"eof"\sis\salways\sset\sbe\sthe\sread,\sif\sthere\sis\sno\sinformation\sany\smore\savailable,\sand\sthe\schannel\smay\sbe\sclosed.\r\n\r\nThis\sis\snot\sthe\scase,\shere.\sA\s"read"\sis\spending\sto\sget\sthe\sfinal\sinformation\son\sthe\schannel.\sSo,\seof\sshould\snot\sbe\s1.\r\n\r\nIf\sit\sis\sread\sin\san\sinternal\sbuffer\sis\snot\simportant.\seof\sshould\sdisplay\sthe\ssituation\son\sthe\sscript\slevel.\sThe\sscript\sis\snot\saware\sof\sinternal\sbuffers.\r\n\r\nIn\sconsequence,\sI\ssecond\sthe\sopinion,\sthat\s"eof"\sshould\sbe\s0\suntil\sthe\serror\sis\sreported\sby\sa\sread.\r\n\r\nWe\swill\sprobably\salso\shave\sto\slook\sinto\sread\sfileevents.\sThe\sread\sfile\sevent\sshould\sbe\sfired\sto\sflag\sthe\spending\serror.\r\n\r\nThank\syou\sall,\r\nHarald
J login oehhar
J mimetype text/x-fossil-wiki
J username oehhar
K b8f575aa2398b0e44b5a037326b9d75037e2da4a
U oehhar
Z 40c8dbb3c3add46835ade9f212101228