summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwelch <welch>2000-03-27 21:22:11 (GMT)
committerwelch <welch>2000-03-27 21:22:11 (GMT)
commit61e42b1f8390839d5e29d3f87605adc0a61dc87e (patch)
tree3028d3536e4aa280535b8ce89b32edd7de9fd621
parentf360434e70a3068aab3513ecb8bc4da680c12c38 (diff)
downloadtcl-61e42b1f8390839d5e29d3f87605adc0a61dc87e.zip
tcl-61e42b1f8390839d5e29d3f87605adc0a61dc87e.tar.gz
tcl-61e42b1f8390839d5e29d3f87605adc0a61dc87e.tar.bz2
Added catch around fileevent to fix test suite failure
-rw-r--r--library/http/http.tcl4
-rw-r--r--library/http2.1/http.tcl4
-rw-r--r--library/http2.3/http.tcl4
3 files changed, 6 insertions, 6 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index d1907a8..16a6d05 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -9,7 +9,7 @@
# See the file "license.terms" for information on usage and
# redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: http.tcl,v 1.26 2000/03/22 22:49:57 sandeep Exp $
+# RCS: @(#) $Id: http.tcl,v 1.27 2000/03/27 21:22:11 welch Exp $
package provide http 2.3 ;# This uses Tcl namespaces
@@ -332,7 +332,7 @@ proc http::geturl { url args } {
if {$state(-timeout) > 0} {
fileevent $s writable [list http::Connect $token]
http::wait $token
- fileevent $s writable {}
+ catch {fileevent $s writable {}}
if {![string equal $state(status) "connect"]} {
return $token
}
diff --git a/library/http2.1/http.tcl b/library/http2.1/http.tcl
index d1907a8..16a6d05 100644
--- a/library/http2.1/http.tcl
+++ b/library/http2.1/http.tcl
@@ -9,7 +9,7 @@
# See the file "license.terms" for information on usage and
# redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: http.tcl,v 1.26 2000/03/22 22:49:57 sandeep Exp $
+# RCS: @(#) $Id: http.tcl,v 1.27 2000/03/27 21:22:11 welch Exp $
package provide http 2.3 ;# This uses Tcl namespaces
@@ -332,7 +332,7 @@ proc http::geturl { url args } {
if {$state(-timeout) > 0} {
fileevent $s writable [list http::Connect $token]
http::wait $token
- fileevent $s writable {}
+ catch {fileevent $s writable {}}
if {![string equal $state(status) "connect"]} {
return $token
}
diff --git a/library/http2.3/http.tcl b/library/http2.3/http.tcl
index d1907a8..16a6d05 100644
--- a/library/http2.3/http.tcl
+++ b/library/http2.3/http.tcl
@@ -9,7 +9,7 @@
# See the file "license.terms" for information on usage and
# redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: http.tcl,v 1.26 2000/03/22 22:49:57 sandeep Exp $
+# RCS: @(#) $Id: http.tcl,v 1.27 2000/03/27 21:22:11 welch Exp $
package provide http 2.3 ;# This uses Tcl namespaces
@@ -332,7 +332,7 @@ proc http::geturl { url args } {
if {$state(-timeout) > 0} {
fileevent $s writable [list http::Connect $token]
http::wait $token
- fileevent $s writable {}
+ catch {fileevent $s writable {}}
if {![string equal $state(status) "connect"]} {
return $token
}