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