summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-06 21:09:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-06 21:09:17 (GMT)
commit63dbcbbd884c7c69c4212ece1a54ea60eadf819c (patch)
tree71d668f5e406983bb404590bbd9908876bf6e97c /library
parent96235c311df74075d131a257a643f8a1e936b0a8 (diff)
parent4d73199fb21e569752b34938e8155e9e6669538c (diff)
downloadtcl-63dbcbbd884c7c69c4212ece1a54ea60eadf819c.zip
tcl-63dbcbbd884c7c69c4212ece1a54ea60eadf819c.tar.gz
tcl-63dbcbbd884c7c69c4212ece1a54ea60eadf819c.tar.bz2
Don't depend on Spencer-specific regexp syntax (/u and /U) any more.
Bump http package to 2.8.6.
Diffstat (limited to 'library')
-rw-r--r--library/http/http.tcl4
-rw-r--r--library/http/pkgIndex.tcl2
2 files changed, 3 insertions, 3 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index c3290c9..202525d 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -11,7 +11,7 @@
package require Tcl 8.6-
# Keep this in sync with pkgIndex.tcl and with the install directories in
# Makefiles
-package provide http 2.8.5
+package provide http 2.8.6
namespace eval http {
# Allow resourcing to not clobber existing data
@@ -1379,7 +1379,7 @@ proc http::mapReply {string} {
}
set converted [string map $formMap $string]
if {[string match "*\[\u0100-\uffff\]*" $converted]} {
- regexp {[\u0100-\uffff]} $converted badChar
+ regexp "\[\u0100-\uffff\]" $converted badChar
# Return this error message for maximum compatability... :^/
return -code error \
"can't read \"formMap($badChar)\": no such element in array"
diff --git a/library/http/pkgIndex.tcl b/library/http/pkgIndex.tcl
index 828c860..e4c0e11 100644
--- a/library/http/pkgIndex.tcl
+++ b/library/http/pkgIndex.tcl
@@ -1,2 +1,2 @@
if {![package vsatisfies [package provide Tcl] 8.6-]} {return}
-package ifneeded http 2.8.5 [list tclPkgSetup $dir http 2.8.5 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister ::http::mapReply}}}]
+package ifneeded http 2.8.6 [list tclPkgSetup $dir http 2.8.6 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister ::http::mapReply}}}]