|
Karsten Hopp |
39cfb8 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
39cfb8 |
Subject: patch 7.1.024
|
|
Karsten Hopp |
39cfb8 |
Fcc: outbox
|
|
Karsten Hopp |
39cfb8 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
39cfb8 |
Mime-Version: 1.0
|
|
Karsten Hopp |
39cfb8 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
39cfb8 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
39cfb8 |
------------
|
|
Karsten Hopp |
39cfb8 |
|
|
Karsten Hopp |
39cfb8 |
Patch 7.1.024
|
|
Karsten Hopp |
39cfb8 |
Problem: Using a pointer that has become invalid. (Chris Monson)
|
|
Karsten Hopp |
39cfb8 |
Solution: Obtain the line pointer again after we looked at another line.
|
|
Karsten Hopp |
39cfb8 |
Files: src/search.c
|
|
Karsten Hopp |
39cfb8 |
|
|
Karsten Hopp |
39cfb8 |
|
|
Karsten Hopp |
39cfb8 |
*** ../vim-7.1.023/src/search.c Tue Jul 10 12:36:51 2007
|
|
Karsten Hopp |
39cfb8 |
--- src/search.c Thu Jul 5 21:18:55 2007
|
|
Karsten Hopp |
39cfb8 |
***************
|
|
Karsten Hopp |
39cfb8 |
*** 2124,2129 ****
|
|
Karsten Hopp |
39cfb8 |
--- 2128,2136 ----
|
|
Karsten Hopp |
39cfb8 |
else if (!backwards)
|
|
Karsten Hopp |
39cfb8 |
inquote = TRUE;
|
|
Karsten Hopp |
39cfb8 |
}
|
|
Karsten Hopp |
39cfb8 |
+
|
|
Karsten Hopp |
39cfb8 |
+ /* ml_get() only keeps one line, need to get linep again */
|
|
Karsten Hopp |
39cfb8 |
+ linep = ml_get(pos.lnum);
|
|
Karsten Hopp |
39cfb8 |
}
|
|
Karsten Hopp |
39cfb8 |
}
|
|
Karsten Hopp |
39cfb8 |
}
|
|
Karsten Hopp |
39cfb8 |
*** ../vim-7.1.023/src/version.c Tue Jul 10 12:36:51 2007
|
|
Karsten Hopp |
39cfb8 |
--- src/version.c Tue Jul 10 13:06:02 2007
|
|
Karsten Hopp |
39cfb8 |
***************
|
|
Karsten Hopp |
39cfb8 |
*** 668,669 ****
|
|
Karsten Hopp |
39cfb8 |
--- 668,671 ----
|
|
Karsten Hopp |
39cfb8 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
39cfb8 |
+ /**/
|
|
Karsten Hopp |
39cfb8 |
+ 24,
|
|
Karsten Hopp |
39cfb8 |
/**/
|
|
Karsten Hopp |
39cfb8 |
|
|
Karsten Hopp |
39cfb8 |
--
|
|
Karsten Hopp |
39cfb8 |
Q: Why does /dev/null accept only integers?
|
|
Karsten Hopp |
39cfb8 |
A: You can't sink a float.
|
|
Karsten Hopp |
39cfb8 |
|
|
Karsten Hopp |
39cfb8 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
39cfb8 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
39cfb8 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
39cfb8 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|