Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3f788975162efb9df9cf9cc714f34a0ba8a91b2e
Ticket: 10dc6daa375d45051a3c6064cbc1b32686bc1745
Tcl_Gets() fails to read non-blocking socket
User & Date: anonymous on 2014-10-17 08:43:43
Changes

  1. icomment:
    --- tcl8.5.17rc/generic/tclIO.c~	2014-10-13 19:34:12.000000000 +0200
    +++ tcl8.5.17rc/generic/tclIO.c	2014-10-17 10:39:44.000000000 +0200
    @@ -4473,7 +4473,7 @@
     	}
     	if (GotFlag(statePtr, CHANNEL_BLOCKED|CHANNEL_NONBLOCKING)
     		== (CHANNEL_BLOCKED|CHANNEL_NONBLOCKING)) {
    -	    goto restore;
    +	    /* goto restore; */
     	}
     
     	/*
    
    Confirmed: with this patch against [59a0067f32], the TCL client/server test script below and my C++-level app work ok on a first quick check.
    
  2. login: "anonymous"
  3. mimetype: "text/plain"