diff options
| author | andreask <andreask> | 2013-04-30 18:46:44 (GMT) |
|---|---|---|
| committer | andreask <andreask> | 2013-04-30 18:46:44 (GMT) |
| commit | 61fa7db5d12308a961dd1e38bad30735671c7004 (patch) | |
| tree | dd5b7d6f076d5723fba022fc47ac2b70d6e72f5e | |
| parent | b8d62882c5698c5d2fc4598ec689153803a90af9 (diff) | |
| parent | 5ba253f41ed9a33ec60bf395b0143da20d2898e8 (diff) | |
| download | tcl-61fa7db5d12308a961dd1e38bad30735671c7004.zip tcl-61fa7db5d12308a961dd1e38bad30735671c7004.tar.gz tcl-61fa7db5d12308a961dd1e38bad30735671c7004.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.
| -rw-r--r-- | ChangeLog | 10 | ||||
| -rw-r--r-- | library/platform/platform.tcl | 4 |
2 files changed, 11 insertions, 3 deletions
@@ -1,4 +1,12 @@ -2013-04-23 Jan Nijtmans <nijtmans@users.sf.net> +2013-04-30 Andreas Kupries <andreask@activestate.com> + + * library/platform/platform.tcl (::platform::LibcVersion): + * library/platform/pkgIndex.tcl: 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. + +2013-04-25 Jan Nijtmans <nijtmans@users.sf.net> * generic/tclDecls.h: Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj as macros using Tcl_NewIntObj, Tcl_DbNewLongObj 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 |
