Patch 9.0.1388

4 views
Skip to first unread message

Bram Moolenaar

unread,
Mar 6, 2023, 3:37:31 PM3/6/23
to vim...@googlegroups.com

Patch 9.0.1388
Problem: Amiga: not all builds use gethostname().
Solution: Use gethostname() for all builds except AROS. (Ola Söder,
closes #12107)
Files: src/os_amiga.c


*** ../vim-9.0.1387/src/os_amiga.c 2023-01-22 21:14:32.617863616 +0000
--- src/os_amiga.c 2023-03-06 20:34:08.283195429 +0000
***************
*** 691,697 ****
void
mch_get_host_name(char_u *s, int len)
{
! #if defined(__amigaos4__) && defined(__CLIB2__)
gethostname(s, len);
#else
vim_strncpy(s, "Amiga", len - 1);
--- 691,697 ----
void
mch_get_host_name(char_u *s, int len)
{
! #if !defined(__AROS__)
gethostname(s, len);
#else
vim_strncpy(s, "Amiga", len - 1);
*** ../vim-9.0.1387/src/version.c 2023-03-06 15:29:26.196524684 +0000
--- src/version.c 2023-03-06 20:36:01.023263140 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1388,
/**/

--
hundred-and-one symptoms of being an internet addict:
236. You start saving URL's in your digital watch.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages