]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 7.4.1361 v7.4.1361
authorBram Moolenaar <Bram@vim.org>
Fri, 19 Feb 2016 22:23:12 +0000 (23:23 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 19 Feb 2016 22:23:12 +0000 (23:23 +0100)
Problem:    Channel test fails on Solaris.
Solution:   Use the 1 msec waittime for all systems.

src/channel.c
src/version.c

index 967e2da0b9bd5f7a3484e017b1dbe2b3ccfad0c1..0106dfb8c1b7bdc799e8a56634ce75ba4bba0891 100644 (file)
@@ -538,12 +538,11 @@ channel_open(char *hostname, int port_in, int waittime, void (*close_cb)(void))
     }
     memcpy((char *)&server.sin_addr, host->h_addr, host->h_length);
 
-#if defined(__APPLE__) && __APPLE__ == 1
-    /* On Mac a zero timeout almost never works.  At least wait one
-     * millisecond. */
+    /* On Mac and Solaris a zero timeout almost never works.  At least wait
+     * one millisecond. Let's do it for all systems, because we don't know why
+     * this is needed. */
     if (waittime == 0)
        waittime = 1;
-#endif
 
     /*
      * For Unix we need to call connect() again after connect() failed.
index 916c52c2f9f9995797bae4d2c89cf575e3055ced..b887dacfb1eacc5f840e3f0e54b29f77f7e6218e 100644 (file)
@@ -747,6 +747,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1361,
 /**/
     1360,
 /**/