Blame SOURCES/7.4.390

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.390
22c937
Fcc: outbox
22c937
From: Bram Moolenaar <Bram@moolenaar.net>
22c937
Mime-Version: 1.0
22c937
Content-Type: text/plain; charset=UTF-8
22c937
Content-Transfer-Encoding: 8bit
22c937
------------
22c937
22c937
Patch 7.4.390
22c937
Problem:    Advancing pointer over end of a string.
22c937
Solution:   Init quote character to -1 instead of zero. (Dominique Pelle)
22c937
Files:	    src/misc1.c
22c937
22c937
22c937
*** ../vim-7.4.389/src/misc1.c	2014-07-03 22:57:51.299862927 +0200
22c937
--- src/misc1.c	2014-08-06 12:43:33.191291602 +0200
22c937
***************
22c937
*** 5503,5509 ****
22c937
      char_u *text;
22c937
  {
22c937
      char_u *s = skipwhite(text);
22c937
!     int	    quote = 0;
22c937
  
22c937
      if (*s == '\'' || *s == '"')
22c937
      {
22c937
--- 5503,5509 ----
22c937
      char_u *text;
22c937
  {
22c937
      char_u *s = skipwhite(text);
22c937
!     int	    quote = -1;
22c937
  
22c937
      if (*s == '\'' || *s == '"')
22c937
      {
22c937
*** ../vim-7.4.389/src/version.c	2014-07-30 17:21:53.819518506 +0200
22c937
--- src/version.c	2014-08-06 12:44:31.643291182 +0200
22c937
***************
22c937
*** 736,737 ****
22c937
--- 736,739 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     390,
22c937
  /**/
22c937
22c937
-- 
22c937
A radioactive cat has eighteen half-lives.
22c937
22c937
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
22c937
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
22c937
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
22c937
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///