Skip to content
Tcl Source Code Artifact [53ff9f0ed1]
Login

Artifact [53ff9f0ed1]

Artifact 53ff9f0ed15245ad421bf1164e6329850257e8c1:

Ticket change [53ff9f0ed1] - Ticket [525783ffffffffff|525783ffff] <i>no flush on [exit]</i> status still Open with 4 other changes by hobbs on 2002-03-06 03:07:58.
D 2002-03-06T03:07:58
J icomment Logged\sIn:\sYES\s\nuser_id=72656\n\nA\smuch\smore\sreliable\stest\sscript\sis:\n\nset\ssize\s[lindex\s$argv\s0]\nif\s{![string\sis\sint\s-strict\s$size]}\s{\sset\ssize\s100\s}\nfor\s{set\si\s0}\s{$i\s<\s$size}\s{incr\si}\s{\n\s\s\s\sputs\s$i\n}\nputs\sstderr\sdone\n\nby\sadding\sin\sthe\sdata\son\sthe\sextra\schannel,\sthat\sseems\sto\s\nadd\senough\sperturbation\sto\sthe\stty's\sto\salways\sshow\sthe\sbug.\n\nHowever,\ssimply\schanging\s"tcflush(...)"\sto\s"tcdrain((fd))"\s\nsolves\sall\sthe\sproblems\sthat\sI\scan\srepeat.\n
J login hobbs
J mimetype text/plain
J username hobbs
K 525783ffffffffffffffffffffffffffffffffff
U hobbs
Z 2ef2e834b8222f161805bb856ae2ae17