Skip to content
Tcl Source Code Artifact [4b6006c1d8]
Login

Artifact [4b6006c1d8]

Artifact 4b6006c1d879031665a6c3a81c249135bda8bec2:

Ticket change [4b6006c1d8] - Ticket [230478ffffffffff|230478ffff] <i>another [fcopy] bug?</i> status still Open with 4 other changes by andreas_kupries on 2001-04-05 00:26:07.
D 2001-04-05T00:26:07
J icomment Logged\sIn:\sYES\s\nuser_id=75003\n\nYes,\sthere\sis\ssome\strickery.\n\nIf\syou\slook\sat\s'TclCopyChannel',\sthe\sprocedure\swhich\scalls\n'CopyData'\syou\swill\sfind\sthat\sit\sconfigures\sthe\schannels\ninto\sblocking\smode\sif\sthere\sis\sno\scommand\s(ptr).\n\nThis\smeans\sthat\sthe\sread\scalls\swill\sonly\sreturn\sin\scase\sof\nan\serror\s(size\s<\s0)\sor\sif\sthe\sbuffer\sis\sfull\sor\sEOF\swas\nreached.\sOnly\sin\sthe\scase\sof\sEOF\ssize\s==\s0\sis\spossible\sand\nEOF\sis\shandled\sspecially\sat\sthat\spoint\s(breaking\sout\sof\sthe\nloop).\sIt\salso\smeans\sthat\sthere\sis\snever\sa\sbackground\sflush\nrunning,\sso\sit\savoids\sthe\ssecond\sreturn\stoo.\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 230478ffffffffffffffffffffffffffffffffff
U andreas_kupries
Z 32225d02a5a21234ff130976ba2728c3