summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2015-10-23 22:39:02 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2015-10-23 22:39:02 (GMT)
commite2fad1dcd399af7fe9d1f1b47cd78b997ce9798f (patch)
treec36adb9e18a7fe8090c30fd3b1e34491287c57d6
parentcfdcca3ad998dcf023933b3f9421ae445ccdc47a (diff)
parenta46f582b1df745ad1e0d69bc343f0995c452115b (diff)
downloadtcl-e2fad1dcd399af7fe9d1f1b47cd78b997ce9798f.zip
tcl-e2fad1dcd399af7fe9d1f1b47cd78b997ce9798f.tar.gz
tcl-e2fad1dcd399af7fe9d1f1b47cd78b997ce9798f.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 {