Overview
| Artifact ID: | 1a54a45cf70fdb5871f98022b28a52a43d62a90fab5143646e32e19b2984b429 |
|---|---|
| Ticket: | 61ba0b0661a14a921665500d77e5d8ac2543724a
platform::identify broken on Red Hat Linux |
| User & Date: | apnadkarni on 2026-07-11 03:11:34 |
Changes
- 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.)
- login: "apnadkarni"
- mimetype: "text/plain"