]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - vim/patches/vim-7.3.312.patch0
Merge remote-tracking branch 'stevee/openvswitch-systemd'
[people/amarx/ipfire-3.x.git] / vim / patches / vim-7.3.312.patch0
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.312
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.312 (after 7.3.306)
11 Problem: Can't compile with tiny features.
12 Solution: Add #ifdef around win_valid().
13 Files: src/buffer.c
14
15
16 *** ../vim-7.3.311/src/buffer.c 2011-09-14 14:43:21.000000000 +0200
17 --- src/buffer.c 2011-09-14 17:46:24.000000000 +0200
18 ***************
19 *** 416,422 ****
20 #endif
21
22 buf_freeall(buf, (del_buf ? BFA_DEL : 0) + (wipe_buf ? BFA_WIPE : 0));
23 ! if (win_valid(win) && win->w_buffer == buf)
24 win->w_buffer = NULL; /* make sure we don't use the buffer now */
25
26 #ifdef FEAT_AUTOCMD
27 --- 416,426 ----
28 #endif
29
30 buf_freeall(buf, (del_buf ? BFA_DEL : 0) + (wipe_buf ? BFA_WIPE : 0));
31 ! if (
32 ! #ifdef FEAT_WINDOWS
33 ! win_valid(win) &&
34 ! #endif
35 ! win->w_buffer == buf)
36 win->w_buffer = NULL; /* make sure we don't use the buffer now */
37
38 #ifdef FEAT_AUTOCMD
39 *** ../vim-7.3.311/src/version.c 2011-09-14 16:52:02.000000000 +0200
40 --- src/version.c 2011-09-14 17:27:24.000000000 +0200
41 ***************
42 *** 711,712 ****
43 --- 711,714 ----
44 { /* Add new patch number below this line */
45 + /**/
46 + 312,
47 /**/
48
49 --
50 You have heard the saying that if you put a thousand monkeys in a room with a
51 thousand typewriters and waited long enough, eventually you would have a room
52 full of dead monkeys.
53 (Scott Adams - The Dilbert principle)
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 ///