.
D 2003-03-01T03:03:29
J assignee vincentdarley
J cmimetype text/plain
J comment Here\sis\sa\spatch\sthe\scleans\sup\sempty\sbuffer\shandling.\sI\shave\nrun\sthe\stest\ssuite\sand\sget\sno\sfailures,\sbut\sI\swanted\sto\nhave\nsomeone\selse\slook\sat\sthis\sto\smake\ssure\sI\sam\snot\smissing\nsomething.\n\nHere\sis\sthe\sChangeLog\sentry:\n\n\s\s\s\s\s\s\s\s*\sgeneric/tclIO.c\s(ReadBytes,\sReadChars):\n\s\s\s\s\s\s\s\sHandle\sthe\scase\sof\sen\sempty\sinput\sbuffer\nexplicitly.\n\s\s\s\s\s\s\s\sThis\scan\shappen\swhen\sa\scr\sappears\sat\sthe\send\sof\san\n\s\s\s\s\s\s\s\sinput\sbuffer\sthat\sis\sin\scrlf\sor\sauto\smode.\sA\sflag\n\s\s\s\s\s\s\s\sis\sset\sto\sindicate\sthat\sa\slf\sat\sthe\sstart\sof\sthe\n\s\s\s\s\s\s\s\snext\sbuffer\smeans\sthat\sa\ssingle\slf\sshould\sbe\sadded.\n\s\s\s\s\s\s\s\sThe\sproblem\sin\sReadBytes\sand\sReadChars\sis\sthat\n\s\s\s\s\s\s\s\sthey\sassume\sthat\sthe\sbuffer\swill\sbe\snon-empty.\n\s\s\s\s\s\s\s\sIt\sappears\sas\sthough\sReadBytes\sand\sReadChars\n\s\s\s\s\s\s\s\sstill\sfunction\sproperly\sin\sthis\scase,\sso\sthe\n\s\s\s\s\s\s\s\sadditional\schecks\sadded\shere\sserve\sto\smake\shandling\n\s\s\s\s\s\s\s\sof\sthis\scase\smore\sclear.\n
J foundin None
J priority 4
J resolution None
J status Open
J submitter mdejong
J subsystem 25.\sChannel\sSystem
J title Cleanup\sempty\sbufer\shandling
J type Patch
K 695422ffffffffffffffffffffffffffffffffff
U mdejong
Z 6085cd703c50298ee1263160c8eff3c7