.
D 2008-06-16T12:06:40
J assignee andreas_kupries
J cmimetype text/plain
J comment The\sexample\sevent-handler\sprocedure\sdoes\scheck\sfor\neof\son\sthe\schannel,\sbut\sdoesn't\sclose\sthe\schannel,\nand\swould\stherefore\scause\sa\sbusy\sloop\son\seof.\n\nSuggestion:\n\n\s\s\sproc\sGetData\s{chan}\s{\n\s\s\s\s\s\s\sif\s{[eof\s$chan]}\s{\sclose\s$chan;\sreturn\s}\n\n\s\s\s\s\s\s\sputs\s[gets\s$chan]\n\s\s\s}\n\nmight\sbe\sa\smore\stypical\sexample.\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter avl42
J subsystem 24.\sChannel\sCommands
J title Doc:\sexample\sin\sfileevent\smanpage\sis\sbad.
J type Bug
K 1995063fffffffffffffffffffffffffffffffff
U avl42
Z 4318ce88ef09cdfcb4d42104ad4d99b9