patch 7.4.1342
Problem: On Mac OS/X the waittime must be > 0 for connect to work.
Solution: Use select() in a different way. (partly by Kazunobu Kuriyama)
Always use a waittime of 1 or more.
diff --git a/src/eval.c b/src/eval.c
index f47b096..963d9db 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -10031,7 +10031,7 @@
if ((item = dict_find(dict, (char_u *)"timeout", -1)) != NULL)
timeout = get_tv_number(&item->di_tv);
}
- if (waittime < 0 || timeout < 0)
+ if (timeout < 0)
{
EMSG(_(e_invarg));
return;