[PATCH v3 2/2] Cygwin: uname: add host machine tag to sysname.
Corinna Vinschen
corinna-cygwin@cygwin.com
Fri Nov 29 09:58:39 GMT 2024
On Nov 27 11:26, Jeremy Drake via Cygwin-patches wrote:
> From: Jeremy Drake <cygwin@jdrake.com>
>
> If the Cygwin dll's architecture is different from the host system's
> architecture, append an additional tag that indicates the host system
> architecture (the Cygwin dll's architecture is already indicated in
> machine).
>
> Signed-off-by: Jeremy Drake <cygwin@jdrake.com>
> ---
> v2: get rid of hardcoded string lengths, use wincap accessors
> directly instead of caching their returns, actually add "n" variable as
> intended
>
> v3: inline append_host_suffix, remove unnecessary switch cases, fix typo
> strcpy -> stpcpy in ARM64 case
>
> winsup/cygwin/uname.cc | 18 ++++++++++++++++--
> 1 file changed, 16 insertions(+), 2 deletions(-)
Pushed.
Thanks,
Corinna
More information about the Cygwin-patches
mailing list