summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorandreask <andreask>2013-04-30 18:46:44 (GMT)
committerandreask <andreask>2013-04-30 18:46:44 (GMT)
commitddae63135fcfecfdaf4c25397424f8996d5747d0 (patch)
treedd5b7d6f076d5723fba022fc47ac2b70d6e72f5e /library
parent2fb979594aa28b8f095fa7aa99a36f9b057a9f60 (diff)
parenta034a4b99c8ed881713abf6ca8655f0a6952c0fa (diff)
downloadtcl-ddae63135fcfecfdaf4c25397424f8996d5747d0.zip
tcl-ddae63135fcfecfdaf4c25397424f8996d5747d0.tar.gz
tcl-ddae63135fcfecfdaf4c25397424f8996d5747d0.tar.bz2
(::platform::LibcVersion): Followup to the 2013-01-30 change. The RE
become too restrictive again. SuSe added a timestamp after the version. Loosened up a bit. Bumped package to version 1.0.12.
Diffstat (limited to 'library')
-rw-r--r--library/platform/platform.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/platform/platform.tcl b/library/platform/platform.tcl
index a1a728b..5698425 100644
--- a/library/platform/platform.tcl
+++ b/library/platform/platform.tcl
@@ -256,7 +256,7 @@ proc ::platform::LibcVersion {base _->_ vv} {
if {![catch {
set vdata [lindex [split [exec $libc] \n] 0]
}]} {
- regexp {version ([0-9]+(\.[0-9]+)*), by} $vdata -> v
+ regexp {version ([0-9]+(\.[0-9]+)*)} $vdata -> v
foreach {major minor} [split $v .] break
set v glibc${major}.${minor}
return 1
@@ -368,7 +368,7 @@ proc ::platform::patterns {id} {
# ### ### ### ######### ######### #########
## Ready
-package provide platform 1.0.11
+package provide platform 1.0.12
# ### ### ### ######### ######### #########
## Demo application