To: vim_dev@googlegroups.com Subject: Patch 8.2.0842 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0842 (after 8.2.0837) Problem: MS-Windows: channel tests fail. Solution: Adjust #ifdefs. (closes #6162) Files: src/channel.c *** ../vim-8.2.0841/src/channel.c 2020-05-29 21:38:38.273167372 +0200 --- src/channel.c 2020-05-30 13:05:37.313260485 +0200 *************** *** 1002,1022 **** --- 1002,1028 ---- # ifdef HAVE_INET_NTOP const void *src = NULL; char buf[NUMBUFLEN]; + # endif if (addr->ai_family == AF_INET6) { struct sockaddr_in6 *sai = (struct sockaddr_in6 *)addr->ai_addr; sai->sin6_port = htons(port); + # ifdef HAVE_INET_NTOP src = &sai->sin6_addr; + # endif } else if (addr->ai_family == AF_INET) { struct sockaddr_in *sai = (struct sockaddr_in *)addr->ai_addr; sai->sin_port = htons(port); + # ifdef HAVE_INET_NTOP src = &sai->sin_addr; + #endif } + # ifdef HAVE_INET_NTOP if (src != NULL) { dst = inet_ntop(addr->ai_family, src, buf, sizeof(buf)); *** ../vim-8.2.0841/src/version.c 2020-05-29 23:03:06.060851731 +0200 --- src/version.c 2020-05-30 13:07:30.336788199 +0200 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 842, /**/ -- hundred-and-one symptoms of being an internet addict: 210. When you get a divorce, you don't care about who gets the children, but discuss endlessly who can use the email address. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///