diff options
author | andreask <andreask> | 2013-04-30 18:43:28 (GMT) |
---|---|---|
committer | andreask <andreask> | 2013-04-30 18:43:28 (GMT) |
commit | a034a4b99c8ed881713abf6ca8655f0a6952c0fa (patch) | |
tree | 36ba1cc4bd3fc43afe19c8c0d5aa6c7b950f7245 /library | |
parent | a6ac841a5d396d4221df4e2a98c81bf8361d6b94 (diff) | |
download | tcl-a034a4b99c8ed881713abf6ca8655f0a6952c0fa.zip tcl-a034a4b99c8ed881713abf6ca8655f0a6952c0fa.tar.gz tcl-a034a4b99c8ed881713abf6ca8655f0a6952c0fa.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.tcl | 4 |
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 |