Skip to content
Tcl Source Code History Of Ticket 219061
Login

History Of Ticket 219061

Artifacts Associated With Ticket 219061

  1. Ticket change [93cf7ff015] (rid 105868) by nobody on 2000-10-26 01:10:03:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 4388 Bug
      Version: 8.3
      SubmitDate: '2000-03-16'
      LastModified: '2000-04-18'
      Severity: MED
      Status: Released
      Submitter: techsupp
      ChangedBy: hobbs
      OS: HP-UX
      FixedDate: '2000-04-18'
      FixedInVersion: 8.3.1
      ClosedDate: '2000-10-25'
      
      
      Name:
      
      Ulrich Schöbel
      
      
      Extensions:
      
      BLT, Oratcl
      
      
      ReproducibleScript:
      
      Creation of a channel with socket -async makes a non-blocking channel, though it is reported
      
      to be blocking.
      
      
      I reported this behaviour a few days ago, but the report appears to be lost in outer space.
      
      Presumably we had another knot in our net. Sorry, if it's reported twice.
      
      
      Patch:
      
      *** tclUnixChan.c.orig  Thu Mar 16 21:51:20 2000
      
      --- tclUnixChan.c       Fri Mar 17 01:32:06 2000
      
      ***************
      
      *** 2041,2046 ****
      
      --- 2041,2064 ----
      
                            asyncConnect = 1;
      
                            status = 0;
      
                        }
      
      +             } else {
      
      +         /* Here we are if the connect succeeds. In case of an asynchronous
      
      +          * connect we have to reset the channel to blocking mode.
      
      +          * This appears to happen not very often, but e.g. on a
      
      +          * HP 9000/800 under HP-UX B.11.00 we enter this stage.
      
      +          */
      
      +                 if (async) {
      
      + #ifndef USE_FIONBIO
      
      +                     origState = fcntl(sock, F_GETFL);
      
      +                     curState = origState & ~(O_NONBLOCK);
      
      +                     status = fcntl(sock, F_SETFL, curState);
      
      + #endif
      
      +
      
      + #ifdef  USE_FIONBIO
      
      +                     curState = 0;
      
      +                     status = ioctl(sock, FIONBIO, &curState);
      
      + #endif
      
      +                 }
      
                    }
      
                }
      
            }
      
      
      PatchFiles:
      
      tclUnixChan.c
      
      
      
      
      patched as noted for 8.3.1. 
      -- 04/18/2000 hobbs
      
    4. foundin initialized to: "obsolete: 8.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "63. (unused)"
    10. title initialized to: "socket -async channel is non-blocking"
    11. type initialized to: "Bug"
  2. Ticket change [8eb5659f84] (rid 120162) by welch on 2000-10-26 08:34:06:

    1. closedate changed to: "2000-10-26T01:34:06"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [83df8f4183] (rid 117447) by dgp on 2001-04-01 01:47:33:

    1. closedate changed to: "2001-03-31T18:47:33"
    2. closer changed to: "dgp"
    3. subsystem changed to: "27. Channel Types"