]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.053
- new
[packages/vim.git] / 7.2.053
CommitLineData
65bfde4c
AG
1To: vim-dev@vim.org
2Subject: Patch 7.2.053
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.2.053
11Problem: Crash when using WorkShop command ":ws foo". (Dominique Pelle)
12Solution: Avoid using a NULL pointer.
13Files: src/workshop.c
14
15
16*** ../vim-7.2.052/src/workshop.c Tue Jun 24 23:34:50 2008
17--- src/workshop.c Thu Nov 27 22:31:27 2008
18***************
19*** 1121,1128 ****
20 ? (char *)curbuf->b_sfname : "<None>");
21 #endif
22
23! strcpy(ffname, (char *) curbuf->b_ffname);
24! *filename = ffname; /* copy so nobody can change b_ffname */
25 *curLine = curwin->w_cursor.lnum;
26 *curCol = curwin->w_cursor.col;
27
28--- 1121,1132 ----
29 ? (char *)curbuf->b_sfname : "<None>");
30 #endif
31
32! if (curbuf->b_ffname == NULL)
33! ffname[0] = NUL;
34! else
35! /* copy so nobody can change b_ffname */
36! strcpy(ffname, (char *) curbuf->b_ffname);
37! *filename = ffname;
38 *curLine = curwin->w_cursor.lnum;
39 *curCol = curwin->w_cursor.col;
40
41*** ../vim-7.2.052/src/version.c Fri Nov 28 11:15:10 2008
42--- src/version.c Fri Nov 28 11:44:23 2008
43***************
44*** 678,679 ****
45--- 678,681 ----
46 { /* Add new patch number below this line */
47+ /**/
48+ 53,
49 /**/
50
51--
52What the word 'politics' means: 'Poli' in Latin meaning 'many' and 'tics'
53meaning 'bloodsucking creatures'.
54
55 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
56/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
57\\\ download, build and distribute -- http://www.A-A-P.org ///
58 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.046314 seconds and 4 git commands to generate.