4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: May hang when polling for a character.
12 Solution: Break the wait loop when not waiting for a character.
16 *** ../vim-6.2.011/src/os_unix.c Tue Jun 3 23:14:05 2003
17 --- src/os_unix.c Wed Jun 4 21:08:23 2003
25 if (fds[xsmp_idx].revents & POLLIN)
26 xsmp_handle_requests();
31 ! if (xsmp_idx >= 0 && (fds[gpm_idx].revents & (POLLIN | POLLHUP)))
33 if (fds[xsmp_idx].revents & POLLIN)
34 xsmp_handle_requests();
37 #endif /* HAVE_SELECT */
43 /* We're going to loop around again, find out for how long */
49 #endif /* HAVE_SELECT */
52 ! if (finished || msec == 0)
55 /* We're going to loop around again, find out for how long */
60 *** ../vim-6.2.011/src/version.c Tue Jun 3 23:14:05 2003
61 --- src/version.c Wed Jun 4 21:09:25 2003
65 { /* Add new patch number below this line */
71 From "know your smileys":
72 <<<:-{ Worf (Never smiles anyways, so he's a bad smiley)
74 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
75 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
76 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
77 \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///