[Bug 46037] New: "wine_get_host_version" in ntdll.dll for Android should contain "Android"
https://bugs.winehq.org/show_bug.cgi?id=46037 Bug ID: 46037 Summary: "wine_get_host_version" in ntdll.dll for Android should contain "Android" Product: Wine Version: 3.18 Hardware: x86 OS: Android Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs(a)winehq.org Reporter: reinhold.hoffmann(a)hotmail.com On Android "wine_get_host_version" in ntdll.dll contains "Linux" as host system name. It is adequate to have on Android for the host system name "Android" in order to be able to potentially differentiate on the app level to other operating systems. Reinhold -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46037 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- It returns unmodified uname() output. There is nothing to fix here I think. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46037 --- Comment #2 from Reinhold <reinhold.hoffmann(a)hotmail.com> --- If it is just taken from uname then Android's uname is Linux. Is there any other possibility for a Windows app to find out that the underlying OS is Android? (e.g. for macOS "wine_get_host_version" provides Darwin) In prticular on Android a Windows app needs to act differently compared to Linux and macOS because Android is usually on smartphones or tablets where the keyboard behaves differently. Further, the knowledge of the underlying OS is important for service aspects. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46037 --- Comment #3 from Nikolay Sivov <bunglehead(a)gmail.com> --- (In reply to Reinhold from comment #2)
If it is just taken from uname then Android's uname is Linux.
Is there any other possibility for a Windows app to find out that the underlying OS is Android? (e.g. for macOS "wine_get_host_version" provides Darwin)
That's what uname() returns for macos kernel, it's not treated differently that other systems for get_host_version(). Currently it's used for system information report during error reporting. If you really want to detect Android specifically you could probably look for specific Android FS paths, or wine build artifacts specific to Android. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46037 --- Comment #4 from Austin English <austinenglish(a)gmail.com> --- Closing. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46037 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Austin English <austinenglish(a)gmail.com> --- Closing. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla