summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-24 07:43:33 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-24 07:43:33 (GMT)
commit422eaa207739e37ea1813b6a4cfcfc78cc25c8c2 (patch)
treefeda1d90ef252f8f66e6de9385eb347a9c6a0b7a
parentd1f3fe0de0e2a729b8e945e667ea1075cc10dcd8 (diff)
parente8786f83481dd47d804eaf372c6dfd3e6d35d679 (diff)
downloadtcl-422eaa207739e37ea1813b6a4cfcfc78cc25c8c2.zip
tcl-422eaa207739e37ea1813b6a4cfcfc78cc25c8c2.tar.gz
tcl-422eaa207739e37ea1813b6a4cfcfc78cc25c8c2.tar.bz2
Bring back regexp to what it was in latest release. This is the correct fix for the problem noted by kbk. Thanks! And thanks to dkf for the test-case
-rw-r--r--library/platform/platform.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/platform/platform.tcl b/library/platform/platform.tcl
index 0160184..35a22a3 100644
--- a/library/platform/platform.tcl
+++ b/library/platform/platform.tcl
@@ -165,7 +165,7 @@ proc ::platform::identify {} {
global tcl_platform
set id [generic]
- regexp {^([^-]+)(-[0-9\.]+)?(-wow)?-([^-]+)$} $id -> plat ver wow cpu
+ regexp {^([^-]+)-([^-]+)$} $id -> plat cpu
switch -- $plat {
solaris {