diff options
Diffstat (limited to 'library')
-rw-r--r-- | library/http/http.tcl | 6 | ||||
-rw-r--r-- | library/init.tcl | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl index ed64ac9..7ae2286 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.42 2002/08/20 15:33:32 dgp Exp $ +# RCS: @(#) $Id: http.tcl,v 1.43 2002/10/03 13:34:32 dkf Exp $ # Rough version history: # 1.0 Old http_get interface @@ -171,7 +171,7 @@ proc http::Finish { token {errormsg ""} {skipCB 0}} { set state(status) error } } - if {[info exist state(-command)]} { + if {[info exists state(-command)]} { # Command callback may already have unset our state unset state(-command) } @@ -556,7 +556,7 @@ proc http::error {token} { proc http::cleanup {token} { variable $token upvar 0 $token state - if {[info exist state]} { + if {[info exists state]} { unset state } } diff --git a/library/init.tcl b/library/init.tcl index 0bf3f26..d875f2e 100644 --- a/library/init.tcl +++ b/library/init.tcl @@ -3,7 +3,7 @@ # Default system startup file for Tcl-based applications. Defines # "unknown" procedure and auto-load facilities. # -# RCS: @(#) $Id: init.tcl,v 1.52 2002/06/21 19:44:16 dgp Exp $ +# RCS: @(#) $Id: init.tcl,v 1.53 2002/10/03 13:34:32 dkf Exp $ # # Copyright (c) 1991-1993 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. @@ -40,7 +40,7 @@ package require -exact Tcl 8.4 # On Macintosh it is "Tool Command Language" in the Extensions folder if {![info exists auto_path]} { - if {[info exist env(TCLLIBPATH)]} { + if {[info exists env(TCLLIBPATH)]} { set auto_path $env(TCLLIBPATH) } else { set auto_path "" @@ -60,7 +60,7 @@ namespace eval tcl { if {[lsearch -exact $::auto_path $Dir] < 0} { lappend ::auto_path $Dir } - if {[info exist ::tcl_pkgPath]} { + if {[info exists ::tcl_pkgPath]} { foreach Dir $::tcl_pkgPath { if {[lsearch -exact $::auto_path $Dir] < 0} { lappend ::auto_path $Dir |