diff options
-rw-r--r-- | generic/tclIO.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c index 12f2af4..062be43 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.c @@ -4453,7 +4453,6 @@ Tcl_GetsObj( eof = NULL; inEofChar = statePtr->inEofChar; - ResetFlag(statePtr, CHANNEL_BLOCKED); while (1) { if (dst >= dstEnd) { if (FilterInputBytes(chanPtr, &gs) != 0) { @@ -4623,10 +4622,6 @@ Tcl_GetsObj( } goto gotEOL; } - if (GotFlag(statePtr, CHANNEL_BLOCKED|CHANNEL_NONBLOCKING) - == (CHANNEL_BLOCKED|CHANNEL_NONBLOCKING)) { - goto restore; - } dst = dstEnd; } |