comparison src/if_xcmdsrv.c @ 2109:6c3c2e464a96 v7.2.392

updated for version 7.2.392 Problem: Netbeans hangs reading from a socket at the maximum block size. Solution: Use select() or poll(). (Xavier de Gaye)
author Bram Moolenaar <bram@zimbu.org>
date Wed, 10 Mar 2010 16:12:48 +0100
parents e5602d92da8c
children 5e7b500dbb7e
comparison
equal deleted inserted replaced
2108:3cdf2a653e00 2109:6c3c2e464a96
17 #if defined(FEAT_CLIENTSERVER) || defined(PROTO) 17 #if defined(FEAT_CLIENTSERVER) || defined(PROTO)
18 18
19 # ifdef FEAT_X11 19 # ifdef FEAT_X11
20 # include <X11/Intrinsic.h> 20 # include <X11/Intrinsic.h>
21 # include <X11/Xatom.h> 21 # include <X11/Xatom.h>
22 # endif
23
24 # if defined(HAVE_SYS_SELECT_H) && \
25 (!defined(HAVE_SYS_TIME_H) || defined(SYS_SELECT_WITH_SYS_TIME))
26 # include <sys/select.h>
27 # endif
28
29 # ifndef HAVE_SELECT
30 # ifdef HAVE_SYS_POLL_H
31 # include <sys/poll.h>
32 # else
33 # ifdef HAVE_POLL_H
34 # include <poll.h>
35 # endif
36 # endif
37 # endif 22 # endif
38 23
39 /* 24 /*
40 * This file provides procedures that implement the command server 25 * This file provides procedures that implement the command server
41 * functionality of Vim when in contact with an X11 server. 26 * functionality of Vim when in contact with an X11 server.