summaryrefslogtreecommitdiffstats
path: root/library/platform
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-08-14 18:44:51 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-08-14 18:44:51 (GMT)
commit1f563ae9a011345574fb277fe6e8eb7f58916981 (patch)
tree91e5021d194cf249b14156bcd8d1560dce949c2c /library/platform
parent6f7f64c938f98f268b7e606cf668c40ca66e98c9 (diff)
parent2b3657769b1d0b9ae6e10113b1d3c038b4967899 (diff)
downloadtcl-1f563ae9a011345574fb277fe6e8eb7f58916981.zip
tcl-1f563ae9a011345574fb277fe6e8eb7f58916981.tar.gz
tcl-1f563ae9a011345574fb277fe6e8eb7f58916981.tar.bz2
merge trunkbug_3610404
Diffstat (limited to 'library/platform')
-rw-r--r--library/platform/pkgIndex.tcl2
-rw-r--r--library/platform/platform.tcl4
2 files changed, 3 insertions, 3 deletions
diff --git a/library/platform/pkgIndex.tcl b/library/platform/pkgIndex.tcl
index b882e4f..23a3408 100644
--- a/library/platform/pkgIndex.tcl
+++ b/library/platform/pkgIndex.tcl
@@ -1,3 +1,3 @@
-package ifneeded platform 1.0.11 [list source [file join $dir platform.tcl]]
+package ifneeded platform 1.0.12 [list source [file join $dir platform.tcl]]
package ifneeded platform::shell 1.1.4 [list source [file join $dir shell.tcl]]
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