Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1a54a45cf70fdb5871f98022b28a52a43d62a90fab5143646e32e19b2984b429
Ticket: 61ba0b0661a14a921665500d77e5d8ac2543724a
platform::identify broken on Red Hat Linux
User & Date: apnadkarni on 2026-07-11 03:11:34
Changes

  1. icomment:
    I'm not a big fan of executing external programs. Aside from security implications, output formats can change between different versions of the program or even between different localized platforms for the same version (at least on Windows, not sure about Linux/Unix).
    
    I suspect the regexp will also fail for alternative Linux runtimes like musl.
    
    Since `platform::identify` on Linux seems to mean the glibc version, would an alternative solution be to include the result of `gnu_get_libc_version` in the `tcl::build-info` and pick up the value from there? (Of course under __GLIBC__ conditional, "unknown" otherwise.)
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"