Make `wxGetLinuxDistributionInfo()` available on all Unices (PR #26227)

15 views
Skip to first unread message

Lauri Nurmi

unread,
Feb 23, 2026, 2:08:10 AM (3 days ago) Feb 23
to wx-...@googlegroups.com, Subscribed

Now that wxGetLinuxDistributionInfo() primarily obtains its data from /etc/os-release, there is nothing fundamentally Linux-specific about the implementation.

FreeBSD comes with /etc/os-release since FreeBSD 13.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26227

Commit Summary

  • 9718622 Make wxGetLinuxDistributionInfo() available on all Unices

File Changes

(5 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26227@github.com>

VZ

unread,
Feb 23, 2026, 5:40:29 AM (3 days ago) Feb 23
to wx-...@googlegroups.com, Subscribed

@vadz requested changes on this pull request.

Sorry, I don't understand how can you say that there is nothing Linux-specific about this function when it has "Linux" in its name (and also in the name of the struct returned by it).

If it makes sense to extend this to other Unix systems, we need to rename both the function and the struct (keeping the old names for compatibility, of course), otherwise this would be very confusing.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26227/review/3840283048@github.com>

VZ

unread,
Feb 24, 2026, 2:03:20 PM (yesterday) Feb 24
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26227)

Is this replaced by #26231?


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26227/c3954130773@github.com>

Lauri Nurmi

unread,
Feb 24, 2026, 2:09:02 PM (yesterday) Feb 24
to wx-...@googlegroups.com, Subscribed
lanurmi left a comment (wxWidgets/wxWidgets#26227)

Is this replaced by #26231?

No, these two are unrelated.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26227/c3954171434@github.com>

Reply all
Reply to author
Forward
0 new messages