summaryrefslogtreecommitdiffstats
path: root/library
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)
commit357ca2067d11e6a7520d106c5b06158caeecdf5b (patch)
treec36adb9e18a7fe8090c30fd3b1e34491287c57d6 /library
parent24c49324b4488e47b21eaa259a0950464f9b930c (diff)
parentb40c3af17683766d1e1359c9ceb4dd7178f6afc5 (diff)
downloadtcl-357ca2067d11e6a7520d106c5b06158caeecdf5b.zip
tcl-357ca2067d11e6a7520d106c5b06158caeecdf5b.tar.gz
tcl-357ca2067d11e6a7520d106c5b06158caeecdf5b.tar.bz2
combine divergence
Diffstat (limited to 'library')
-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 {