• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revisionbca50c9e1374c176a63f9baf0ed7fcb34ea16967 (tree)
Time2007-10-31 01:37:15
Authorvimboss
Commitervimboss

Log Message

updated for version 7.1-147

Change Summary

Incremental Difference

diff -r d065616e0836 -r bca50c9e1374 src/ex_getln.c
--- a/src/ex_getln.c Mon Oct 29 21:38:54 2007 +0000
+++ b/src/ex_getln.c Tue Oct 30 16:37:15 2007 +0000
@@ -3353,6 +3353,7 @@
33533353 char_u *ss = NULL;
33543354 static int findex;
33553355 static char_u *orig_save = NULL; /* kept value of orig */
3356+ int orig_saved = FALSE;
33563357 int i;
33573358 long_u len;
33583359 int non_suf_match; /* number without matching suffix */
@@ -3421,6 +3422,7 @@
34213422 {
34223423 vim_free(orig_save);
34233424 orig_save = orig;
3425+ orig_saved = TRUE;
34243426
34253427 /*
34263428 * Do the expansion.
@@ -3546,7 +3548,7 @@
35463548 ExpandCleanup(xp);
35473549
35483550 /* Free "orig" if it wasn't stored in "orig_save". */
3549- if (orig != orig_save)
3551+ if (!orig_saved)
35503552 vim_free(orig);
35513553
35523554 return ss;
diff -r d065616e0836 -r bca50c9e1374 src/version.c
--- a/src/version.c Mon Oct 29 21:38:54 2007 +0000
+++ b/src/version.c Tue Oct 30 16:37:15 2007 +0000
@@ -667,6 +667,8 @@
667667 static int included_patches[] =
668668 { /* Add new patch number below this line */
669669 /**/
670+ 147,
671+/**/
670672 146,
671673 /**/
672674 145,
Show on old repository browser