# HG changeset patch # User Bram Moolenaar # Date 1678135502 -3600 # Node ID 7ef5674e346fead4c0e898f58c4ccae4b467e769 # Parent 6a007f44dd2e1aef921689f07997e3f98f8358d8 patch 9.0.1388: Amiga: not all builds use gethostname() Commit: https://github.com/vim/vim/commit/f06c4a7a1d6a8a02449e6ed3aa3a2c19d7fde2ea Author: =?UTF-8?q?Ola=20S=C3=B6der?= Date: Mon Mar 6 20:36:55 2023 +0000 patch 9.0.1388: Amiga: not all builds use gethostname() Problem: Amiga: not all builds use gethostname(). Solution: Use gethostname() for all builds except AROS. (Ola S?der, closes #12107) diff --git a/src/os_amiga.c b/src/os_amiga.c --- a/src/os_amiga.c +++ b/src/os_amiga.c @@ -691,7 +691,7 @@ mch_get_user_name(char_u *s, int len) void mch_get_host_name(char_u *s, int len) { -#if defined(__amigaos4__) && defined(__CLIB2__) +#if !defined(__AROS__) gethostname(s, len); #else vim_strncpy(s, "Amiga", len - 1); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1388, +/**/ 1387, /**/ 1386,