Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ff1c837fa7c106e27c1af4a3accd52f90c939472
Ticket: 1782896fffffffffffffffffffffffffffffffff
Wanted: IPv6
User & Date: egavilan on 2010-03-21 01:09:38
Changes

  1. icomment:
    It seems AI_ADDRCONFIG is an specific glibc optimization; with the obvious #ifdef the build completes. Whowever, there are failing socket test:
    
    ==== socket-2.2 tcp connection with client port specified FAILED
    ==== Contents of test case:
     
        # $x == "ready" at this point
        global port
        set sock [socket -myport $port 127.0.0.1 $listen]
        puts $sock hello
        flush $sock
        lappend x [gets $f]
        close $sock
        return $x
     
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: couldn't open socket: invalid argument
        while executing
    "socket -myport $port 127.0.0.1 $listen"
        ("uplevel" body line 4)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: POSIX EINVAL {invalid argument}
    ---- Test cleanup failed:
    error writing "stdout": broken pipe
        while executing
    "puts "[gets $file] $port""
        (procedure "accept" line 3)
        invoked from within
    "accept sock5 127.0.0.1 63767"
    ---- errorInfo(cleanup): error writing "stdout": broken pipe
        while executing
    "puts "[gets $file] $port""
        (procedure "accept" line 3)
        invoked from within
    "accept sock5 127.0.0.1 63767"
        while executing
    "close $f"
        ("uplevel" body line 3)
        invoked from within
    "uplevel 1 $cleanup"
    ---- errorCode(cleanup): NONE
    ==== socket-2.2 FAILED
      
    ==== socket-11.2 client specifies its port FAILED
    ==== Contents of test case:
     
        set s [socket -myport $port $remoteServerIP 2835]
        set r [gets $s]
        expr {$r==$port ? "ok" : "broken: $r != $port"}
     
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: couldn't open socket: invalid argument
        while executing
    "socket -myport $port $remoteServerIP 2835"
        ("uplevel" body line 2)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: POSIX EINVAL {invalid argument}
    ---- Test cleanup failed:
    can not find channel named "sock6"
    ---- errorInfo(cleanup): can not find channel named "sock6"
        while executing
    "close $s"
        ("uplevel" body line 2)
        invoked from within
    "uplevel 1 $cleanup"
    ---- errorCode(cleanup): TCL LOOKUP CHANNEL sock6
    ==== socket-11.2 FAILED
    
    
    
  2. login: "egavilan"
  3. mimetype: "text/plain"
  4. username: "egavilan"