Karsten Hopp 11fc85
To: vim_dev@googlegroups.com
Karsten Hopp 11fc85
Subject: Patch 7.4.554
Karsten Hopp 11fc85
Fcc: outbox
Karsten Hopp 11fc85
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 11fc85
Mime-Version: 1.0
Karsten Hopp 11fc85
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 11fc85
Content-Transfer-Encoding: 8bit
Karsten Hopp 11fc85
------------
Karsten Hopp 11fc85
Karsten Hopp 11fc85
Patch 7.4.554
Karsten Hopp 11fc85
Problem:    Missing part of patch 7.4.519.
Karsten Hopp 11fc85
Solution:   Copy back regprog after calling vim_regexec.
Karsten Hopp 11fc85
Files:	    src/quickfix.c
Karsten Hopp 11fc85
Karsten Hopp 11fc85
Karsten Hopp 11fc85
*** ../vim-7.4.553/src/quickfix.c	2014-07-23 16:33:04.075886500 +0200
Karsten Hopp 11fc85
--- src/quickfix.c	2014-11-19 16:21:16.404128731 +0100
Karsten Hopp 11fc85
***************
Karsten Hopp 11fc85
*** 592,597 ****
Karsten Hopp 11fc85
--- 592,599 ----
Karsten Hopp 11fc85
  restofline:
Karsten Hopp 11fc85
  	for ( ; fmt_ptr != NULL; fmt_ptr = fmt_ptr->next)
Karsten Hopp 11fc85
  	{
Karsten Hopp 11fc85
+ 	    int r;
Karsten Hopp 11fc85
+ 
Karsten Hopp 11fc85
  	    idx = fmt_ptr->prefix;
Karsten Hopp 11fc85
  	    if (multiscan && vim_strchr((char_u *)"OPQ", idx) == NULL)
Karsten Hopp 11fc85
  		continue;
Karsten Hopp 11fc85
***************
Karsten Hopp 11fc85
*** 607,613 ****
Karsten Hopp 11fc85
  	    tail = NULL;
Karsten Hopp 11fc85
  
Karsten Hopp 11fc85
  	    regmatch.regprog = fmt_ptr->prog;
Karsten Hopp 11fc85
! 	    if (vim_regexec(&regmatch, IObuff, (colnr_T)0))
Karsten Hopp 11fc85
  	    {
Karsten Hopp 11fc85
  		if ((idx == 'C' || idx == 'Z') && !multiline)
Karsten Hopp 11fc85
  		    continue;
Karsten Hopp 11fc85
--- 609,617 ----
Karsten Hopp 11fc85
  	    tail = NULL;
Karsten Hopp 11fc85
  
Karsten Hopp 11fc85
  	    regmatch.regprog = fmt_ptr->prog;
Karsten Hopp 11fc85
! 	    r = vim_regexec(&regmatch, IObuff, (colnr_T)0);
Karsten Hopp 11fc85
! 	    fmt_ptr->prog = regmatch.regprog;
Karsten Hopp 11fc85
! 	    if (r)
Karsten Hopp 11fc85
  	    {
Karsten Hopp 11fc85
  		if ((idx == 'C' || idx == 'Z') && !multiline)
Karsten Hopp 11fc85
  		    continue;
Karsten Hopp 11fc85
*** ../vim-7.4.553/src/version.c	2014-12-17 14:36:10.367090935 +0100
Karsten Hopp 11fc85
--- src/version.c	2014-12-17 14:40:51.463618087 +0100
Karsten Hopp 11fc85
***************
Karsten Hopp 11fc85
*** 743,744 ****
Karsten Hopp 11fc85
--- 743,746 ----
Karsten Hopp 11fc85
  {   /* Add new patch number below this line */
Karsten Hopp 11fc85
+ /**/
Karsten Hopp 11fc85
+     554,
Karsten Hopp 11fc85
  /**/
Karsten Hopp 11fc85
Karsten Hopp 11fc85
-- 
Karsten Hopp 11fc85
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 11fc85
2. You kiss your girlfriend's home page.
Karsten Hopp 11fc85
Karsten Hopp 11fc85
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 11fc85
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 11fc85
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 11fc85
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///