.
D 2010-03-03T19:45:56
J assignee davidw
J cmimetype text/plain
J comment This\sis\sbased\son\sthe\sdiscussion\sat\nhttp://community.activestate.com/forum/trouble-activetcl-85-and-tutorial\n\nAttached\sa\spatch\sfixing\ssyntax\serrors\sin\sthe\sexamples\sof\slesson\s25.\n\nThe\spatch\salso\scontains\sa\schange\sto\sthe\sexample\sin\slesson\s26a,\sthis\showever\sis\smore\sarguable.\sIt\sdepends\son\sif\sthe\stutorial\sis\starget\sat\sTcl\s8.5\sor\s8.4.\sOne\seasy\strick\sto\shandle\sstuff\slike\sthis\swould\sbe\sto\swrite\sthe\sproper\s'package\srequire\sTcl\s8.x'\sin\sthe\sexamples.\n\n\nThe\secho\sserver\sin\slesson\s40\shas\ssome\sproblems\s...\sNo\spatch\sfor\sthat\sas\sI\ssaw\sthe\sreference\sto\sit\sin\sthe\sdiscussion\sonly\stoday,\swhen\sI\swas\swriting\sup\sthis\snote.\sI\snote:\n\n(1)\sThe\schannels\sare\snot\sconfigured\s-blocking\s0\n(2)\sgets\sreturning\s<\s0\sis\streated\sas\sEOF.\sThat\sis\swrong.\n\s\s\s\s\sgets\scan\sreturn\s<\s0\swhen\sthe\sdata\sreceived\sso\sfar\sis\snot\sa\scomplete\sline\syet\s(fblocked!).\n\s\s\s\s\sgets\s<\s0\s=>\sabort\sevent\shandling.\n\s\s\s\s\sHandle\seof\sexplicitly\sbefore\sthat,\sby\schecking\swith\s[eof\s...].\n\nWiki\spage\shttp://wiki.tcl.tk/14071\shas\sa\slarger\sexample,\salbeit\seven\sthat\shas\sbug\s(1).\n\n\n\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter andreas_kupries
J subsystem 75.\sTutorial
J title Bugfixes\sin\sexamples
J type Bug
K 2962834fffffffffffffffffffffffffffffffff
U andreas_kupries
Z b8657cd65121aa6db63256946cf24b76