Skip to content

Commit

Permalink
fixup! Cygwin: uname: add host machine tag to sysname.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyd2019 committed Nov 26, 2024
1 parent b3b2a8e commit 2aff648
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions winsup/cygwin/uname.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,8 @@ append_host_suffix (char * buf)
case IMAGE_FILE_MACHINE_I386:
n = stpcpy (buf, "-x86") - buf;
break;
case IMAGE_FILE_MACHINE_ARMNT:
n = stpcpy (buf, "-ARM") - buf;
break;
case IMAGE_FILE_MACHINE_ARM64:
n = strcpy (buf, "-ARM64") - buf;
n = stpcpy (buf, "-ARM64") - buf;
break;
default:
n = __small_sprintf (buf, "-%04y", (int) wincap.host_machine ());
Expand Down

0 comments on commit 2aff648

Please sign in to comment.