diff options
author | hobbs <hobbs@noemail.net> | 1999-08-05 16:57:48 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 1999-08-05 16:57:48 (GMT) |
commit | 3585e04efd6e178b591f834dfa207a10ca1841dd (patch) | |
tree | 1a7bf3756e31d8bff25e83973436c141efe85269 /library | |
parent | e9ef51cad18f246c25a26b6375a4a2138351f721 (diff) | |
download | tcl-3585e04efd6e178b591f834dfa207a10ca1841dd.zip tcl-3585e04efd6e178b591f834dfa207a10ca1841dd.tar.gz tcl-3585e04efd6e178b591f834dfa207a10ca1841dd.tar.bz2 |
1999-08-05 Jeff Hobbs <hobbs@scriptics.com>
* library/http2.1/http.tcl: Made use of "i" in init section not
use global var and start at 0 (was 1). [Bug: 2502]
FossilOrigin-Name: 05b0bafac39f7cc201f6f8ddb0097b903e37fc8c
Diffstat (limited to 'library')
-rw-r--r-- | library/http/http.tcl | 5 | ||||
-rw-r--r-- | library/http2.1/http.tcl | 5 | ||||
-rw-r--r-- | library/http2.3/http.tcl | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl index bf06cc3..f448077 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.8 1999/07/20 00:11:52 hershey Exp $ +# RCS: @(#) $Id: http.tcl,v 1.9 1999/08/05 16:57:48 hobbs Exp $ package provide http 2.1 ;# This uses Tcl namespaces @@ -27,7 +27,8 @@ namespace eval http { variable formMap set alphanumeric a-zA-Z0-9 - for {set i 1} {$i <= 256} {incr i} { + variable i 0 + for {} {$i <= 256} {incr i} { set c [format %c $i] if {![string match \[$alphanumeric\] $c]} { set formMap($c) %[format %.2x $i] diff --git a/library/http2.1/http.tcl b/library/http2.1/http.tcl index bf06cc3..f448077 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.8 1999/07/20 00:11:52 hershey Exp $ +# RCS: @(#) $Id: http.tcl,v 1.9 1999/08/05 16:57:48 hobbs Exp $ package provide http 2.1 ;# This uses Tcl namespaces @@ -27,7 +27,8 @@ namespace eval http { variable formMap set alphanumeric a-zA-Z0-9 - for {set i 1} {$i <= 256} {incr i} { + variable i 0 + for {} {$i <= 256} {incr i} { set c [format %c $i] if {![string match \[$alphanumeric\] $c]} { set formMap($c) %[format %.2x $i] diff --git a/library/http2.3/http.tcl b/library/http2.3/http.tcl index bf06cc3..f448077 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.8 1999/07/20 00:11:52 hershey Exp $ +# RCS: @(#) $Id: http.tcl,v 1.9 1999/08/05 16:57:48 hobbs Exp $ package provide http 2.1 ;# This uses Tcl namespaces @@ -27,7 +27,8 @@ namespace eval http { variable formMap set alphanumeric a-zA-Z0-9 - for {set i 1} {$i <= 256} {incr i} { + variable i 0 + for {} {$i <= 256} {incr i} { set c [format %c $i] if {![string match \[$alphanumeric\] $c]} { set formMap($c) %[format %.2x $i] |