Skip to content
Tcl Source Code History Of Ticket 575835ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 575835ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 575835ffffffffffffffffffffffffffffffffff

  1. Ticket change [25754d7958] (rid 88177) by dgp on 2002-07-01 06:33:45:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      See Tcl Bug 575817.
      
      event.test fails:
      
      ==== event-6.1 BgErrorDeleteProc procedure FAILED
      ==== Contents of test case:
      
          catch {interp delete foo}
          interp create foo
          foo eval {
              proc bgerror args {
                  global errorInfo
                  set f [open err.out r+]
                  seek $f 0 end
                  puts $f "$args $errorInfo"
                  close $f
              }
              after 100 {error "first error"}
              after 100 {error "second error"}
          }
          makeFile Unmodified err.out
          after 100 {interp delete foo}
          after 200
          update
          set f [open err.out r]
          set result [read $f]
          close $f
          removeFile err.out
          set result
      
      ---- Result was:
      couldn't open "err.out": no such file or directory
      ---- Result should have been (exact matching):
      Unmodified
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ==== event-6.1 FAILED
      
      
      ==== event-11.5 Tcl_VwaitCmd procedure: round robin
      scheduling, 2 sources FAILED==== Contents of test case:
      
          set f1 [open test1 w]
          proc accept {s args} {
              puts $s foobar
              close $s
          }
          catch {set s1 [socket -server accept 0]}
          after 1000
          catch {set s2 [socket 127.0.0.1 [lindex [fconfigure
      $s1 -sockname] 2]]}
          close $s1
          set x 0
          set y 0
          set z 0
          fileevent $s2 readable { incr z }
          vwait z
          fileevent $f1 writable { incr x; if { $y == 3 } {
      set z done } }
          fileevent $s2 readable { incr y; if { $x == 3 } {
      set z done } }
          vwait z
          close $f1
          close $s2
          file delete test1 test2
          list $x $y $z
      
      ---- Result was:
      couldn't open "test1": permission denied
      ---- Result should have been (exact matching):
      3 3 done
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ==== event-11.5 FAILED
      
      
      ==== event-11.6 Tcl_VwaitCmd procedure: round robin
      scheduling, same source FAILED
      ==== Contents of test case:
      
          file delete test1 test2
          set f1 [open test1 w]
          set f2 [open test2 w]
          set x 0
          set y 0
          set z 0
          update
          fileevent $f1 writable { incr x; if { $y == 3 } {
      set z done } }
          fileevent $f2 writable { incr y; if { $x == 3 } {
      set z done } }
          vwait z
          close $f1
          close $f2
          file delete test1 test2
          list $x $y $z
      
      ---- Result was:
      couldn't open "test1": permission denied
      ---- Result should have been (exact matching):
      3 3 done
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ==== event-11.6 FAILED
      
      
    4. foundin initialized to: "obsolete: 8.4a5"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "02. Event Loops"
    10. title initialized to: "event.test needs writable ."
    11. type initialized to: "Bug"
  2. Ticket change [cfa28d0c38] (rid 113021) by dkf on 2002-07-05 17:44:26:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2002-07-05T10:44:26"
    3. closer changed to: "dkf"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"