|
|
e03b3f7 |
To: vim-dev@vim.org
|
|
|
e03b3f7 |
Subject: Patch 7.2.053
|
|
|
e03b3f7 |
Fcc: outbox
|
|
|
e03b3f7 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
e03b3f7 |
Mime-Version: 1.0
|
|
|
e03b3f7 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
|
e03b3f7 |
Content-Transfer-Encoding: 8bit
|
|
|
e03b3f7 |
------------
|
|
|
e03b3f7 |
|
|
|
e03b3f7 |
Patch 7.2.053
|
|
|
e03b3f7 |
Problem: Crash when using WorkShop command ":ws foo". (Dominique Pelle)
|
|
|
e03b3f7 |
Solution: Avoid using a NULL pointer.
|
|
|
e03b3f7 |
Files: src/workshop.c
|
|
|
e03b3f7 |
|
|
|
e03b3f7 |
|
|
|
e03b3f7 |
*** ../vim-7.2.052/src/workshop.c Tue Jun 24 23:34:50 2008
|
|
|
e03b3f7 |
--- src/workshop.c Thu Nov 27 22:31:27 2008
|
|
|
e03b3f7 |
***************
|
|
|
e03b3f7 |
*** 1121,1128 ****
|
|
|
e03b3f7 |
? (char *)curbuf->b_sfname : "<None>");
|
|
|
e03b3f7 |
#endif
|
|
|
e03b3f7 |
|
|
|
e03b3f7 |
! strcpy(ffname, (char *) curbuf->b_ffname);
|
|
|
e03b3f7 |
! *filename = ffname; /* copy so nobody can change b_ffname */
|
|
|
e03b3f7 |
*curLine = curwin->w_cursor.lnum;
|
|
|
e03b3f7 |
*curCol = curwin->w_cursor.col;
|
|
|
e03b3f7 |
|
|
|
e03b3f7 |
--- 1121,1132 ----
|
|
|
e03b3f7 |
? (char *)curbuf->b_sfname : "<None>");
|
|
|
e03b3f7 |
#endif
|
|
|
e03b3f7 |
|
|
|
e03b3f7 |
! if (curbuf->b_ffname == NULL)
|
|
|
e03b3f7 |
! ffname[0] = NUL;
|
|
|
e03b3f7 |
! else
|
|
|
e03b3f7 |
! /* copy so nobody can change b_ffname */
|
|
|
e03b3f7 |
! strcpy(ffname, (char *) curbuf->b_ffname);
|
|
|
e03b3f7 |
! *filename = ffname;
|
|
|
e03b3f7 |
*curLine = curwin->w_cursor.lnum;
|
|
|
e03b3f7 |
*curCol = curwin->w_cursor.col;
|
|
|
e03b3f7 |
|
|
|
e03b3f7 |
*** ../vim-7.2.052/src/version.c Fri Nov 28 11:15:10 2008
|
|
|
e03b3f7 |
--- src/version.c Fri Nov 28 11:44:23 2008
|
|
|
e03b3f7 |
***************
|
|
|
e03b3f7 |
*** 678,679 ****
|
|
|
e03b3f7 |
--- 678,681 ----
|
|
|
e03b3f7 |
{ /* Add new patch number below this line */
|
|
|
e03b3f7 |
+ /**/
|
|
|
e03b3f7 |
+ 53,
|
|
|
e03b3f7 |
/**/
|
|
|
e03b3f7 |
|
|
|
e03b3f7 |
--
|
|
|
e03b3f7 |
What the word 'politics' means: 'Poli' in Latin meaning 'many' and 'tics'
|
|
|
e03b3f7 |
meaning 'bloodsucking creatures'.
|
|
|
e03b3f7 |
|
|
|
e03b3f7 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
e03b3f7 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
e03b3f7 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
|
e03b3f7 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|