summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2015-10-23 22:39:02 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2015-10-23 22:39:02 (GMT)
commita29de0a577298c9b98bbd6e505c38cf0c9628be7 (patch)
treec36adb9e18a7fe8090c30fd3b1e34491287c57d6
parent116ec0f471408695825f3eb2b234119d39c1e42f (diff)
parent4028edd571097abbb13775d2f49514368484cd73 (diff)
downloadtcl-a29de0a577298c9b98bbd6e505c38cf0c9628be7.zip
tcl-a29de0a577298c9b98bbd6e505c38cf0c9628be7.tar.gz
tcl-a29de0a577298c9b98bbd6e505c38cf0c9628be7.tar.bz2
combine divergence
-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 c596e60..0160184 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 {^([^-]+)-([^-]+)$} $id -> plat ver wow cpu
+ regexp {^([^-]+)(-[0-9\.]+)?(-wow)?-([^-]+)$} $id -> plat ver wow cpu
switch -- $plat {
solaris {