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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202005301108.04UB8Ac1296015%40masaka.moolenaar.net.

Raspunde prin e-mail lui