summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--library/http/http.tcl5
-rw-r--r--library/http2.1/http.tcl5
-rw-r--r--library/http2.3/http.tcl5
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]