From: Bram Moolenaar Date: Fri, 19 Feb 2016 22:23:12 +0000 (+0100) Subject: patch 7.4.1361 X-Git-Tag: v7.4.1361 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=254e00d71429aa4e71b93d3e8c6bb93bfebe4f26;p=thirdparty%2Fvim.git patch 7.4.1361 Problem: Channel test fails on Solaris. Solution: Use the 1 msec waittime for all systems. --- diff --git a/src/channel.c b/src/channel.c index 967e2da0b9..0106dfb8c1 100644 --- a/src/channel.c +++ b/src/channel.c @@ -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. diff --git a/src/version.c b/src/version.c index 916c52c2f9..b887dacfb1 100644 --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1361, /**/ 1360, /**/