]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.155
- updated to 0.7.5
[packages/vim.git] / 7.1.155
CommitLineData
e98ed9b1
ER
1To: vim-dev@vim.org
2Subject: Patch 7.1.155
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.1.155
11Problem: Crash when 'undolevels' is 0 and repeating "udd". (James Vega)
12Solution: When there is only one branch use u_freeheader() to delete it.
13Files: src/undo.c
14
15
16*** ../vim-7.1.154/src/undo.c Mon Oct 1 22:53:27 2007
17--- src/undo.c Sat Nov 10 13:45:28 2007
18***************
19*** 1677,1682 ****
20--- 1677,1690 ----
21 u_header_T **uhpp; /* if not NULL reset when freeing this header */
22 {
23 u_header_T *tofree, *next;
24+
25+ /* If this is the top branch we may need to use u_freeheader() to update
26+ * all the pointers. */
27+ if (uhp == buf->b_u_oldhead)
28+ {
29+ u_freeheader(buf, uhp, uhpp);
30+ return;
31+ }
32
33 if (uhp->uh_alt_prev != NULL)
34 uhp->uh_alt_prev->uh_alt_next = NULL;
35*** ../vim-7.1.154/src/version.c Thu Nov 8 21:23:34 2007
36--- src/version.c Sat Nov 10 22:49:40 2007
37***************
38*** 668,669 ****
39--- 668,671 ----
40 { /* Add new patch number below this line */
41+ /**/
42+ 155,
43 /**/
44
45--
46I AM THANKFUL...
47...for the piles of laundry and ironing because it means I
48have plenty of clothes to wear.
49
50 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
51/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
52\\\ download, build and distribute -- http://www.A-A-P.org ///
53 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.034556 seconds and 4 git commands to generate.