]> git.ipfire.org Git - ipfire-3.x.git/blame - vim/patches/vim-7.3.337.patch0
python3: Update to 3.6.3
[ipfire-3.x.git] / vim / patches / vim-7.3.337.patch0
CommitLineData
c6060300
MT
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.337
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.337 (after 7.3.295)
11Problem: Screen doesn't update after resizing the xterm until a character
12 is typed.
13Solution: When the select call is interrupted check do_resize. (Taylor
14 Hedberg)
15Files: src/os_unix.c
16
17
18*** ../vim-7.3.336/src/os_unix.c 2011-09-08 23:24:09.000000000 +0200
19--- src/os_unix.c 2011-10-12 20:57:15.000000000 +0200
20***************
21*** 5146,5156 ****
22--- 5146,5163 ----
23 # endif
24 # ifdef EINTR
25 if (ret == -1 && errno == EINTR)
26+ {
27+ /* Check whether window has been resized, EINTR may be caused by
28+ * SIGWINCH. */
29+ if (do_resize)
30+ handle_resize();
31+
32 /* Interrupted by a signal, need to try again. We ignore msec
33 * here, because we do want to check even after a timeout if
34 * characters are available. Needed for reading output of an
35 * external command after the process has finished. */
36 goto select_eintr;
37+ }
38 # endif
39 # ifdef __TANDEM
40 if (ret == -1 && errno == ENOTSUP)
41*** ../vim-7.3.336/src/version.c 2011-10-12 19:53:31.000000000 +0200
42--- src/version.c 2011-10-12 21:03:47.000000000 +0200
43***************
44*** 711,712 ****
45--- 711,714 ----
46 { /* Add new patch number below this line */
47+ /**/
48+ 337,
49 /**/
50
51--
52hundred-and-one symptoms of being an internet addict:
5364. The remote to the T.V. is missing...and you don't even care.
54
55 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
56/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
57\\\ an exciting new programming language -- http://www.Zimbu.org ///
58 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///