Karsten Hopp 74c9c1
To: vim_dev@googlegroups.com
Karsten Hopp 74c9c1
Subject: Patch 7.4.864
Karsten Hopp 74c9c1
Fcc: outbox
Karsten Hopp 74c9c1
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 74c9c1
Mime-Version: 1.0
Karsten Hopp 74c9c1
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 74c9c1
Content-Transfer-Encoding: 8bit
Karsten Hopp 74c9c1
------------
Karsten Hopp 74c9c1
Karsten Hopp 74c9c1
Patch 7.4.864 (after 7.4.858)
Karsten Hopp 74c9c1
Problem:    Tiny build fails.
Karsten Hopp 74c9c1
Solution:   Put qf_ items inside #ifdef.
Karsten Hopp 74c9c1
Files:      src/ex_docmd.c
Karsten Hopp 74c9c1
Karsten Hopp 74c9c1
Karsten Hopp 74c9c1
*** ../vim-7.4.863/src/ex_docmd.c	2015-09-08 18:46:04.345233591 +0200
Karsten Hopp 74c9c1
--- src/ex_docmd.c	2015-09-09 20:57:46.382355308 +0200
Karsten Hopp 74c9c1
***************
Karsten Hopp 74c9c1
*** 2173,2181 ****
Karsten Hopp 74c9c1
--- 2173,2183 ----
Karsten Hopp 74c9c1
  		lnum = CURRENT_TAB_NR;
Karsten Hopp 74c9c1
  		ea.line2 = lnum;
Karsten Hopp 74c9c1
  		break;
Karsten Hopp 74c9c1
+ #ifdef FEAT_QUICKFIX
Karsten Hopp 74c9c1
  	    case ADDR_QUICKFIX:
Karsten Hopp 74c9c1
  		ea.line2 = qf_get_cur_valid_idx(&ea);
Karsten Hopp 74c9c1
  		break;
Karsten Hopp 74c9c1
+ #endif
Karsten Hopp 74c9c1
  	}
Karsten Hopp 74c9c1
  	ea.cmd = skipwhite(ea.cmd);
Karsten Hopp 74c9c1
  	lnum = get_address(&ea, &ea.cmd, ea.addr_type, ea.skip, ea.addr_count == 0);
Karsten Hopp 74c9c1
***************
Karsten Hopp 74c9c1
*** 2236,2247 ****
Karsten Hopp 74c9c1
--- 2238,2251 ----
Karsten Hopp 74c9c1
  			    ea.line2 = ARGCOUNT;
Karsten Hopp 74c9c1
  			}
Karsten Hopp 74c9c1
  			break;
Karsten Hopp 74c9c1
+ #ifdef FEAT_QUICKFIX
Karsten Hopp 74c9c1
  		    case ADDR_QUICKFIX:
Karsten Hopp 74c9c1
  			ea.line1 = 1;
Karsten Hopp 74c9c1
  			ea.line2 = qf_get_size(&ea);
Karsten Hopp 74c9c1
  			if (ea.line2 == 0)
Karsten Hopp 74c9c1
  			    ea.line2 = 1;
Karsten Hopp 74c9c1
  			break;
Karsten Hopp 74c9c1
+ #endif
Karsten Hopp 74c9c1
  		}
Karsten Hopp 74c9c1
  		++ea.addr_count;
Karsten Hopp 74c9c1
  	    }
Karsten Hopp 74c9c1
***************
Karsten Hopp 74c9c1
*** 2702,2712 ****
Karsten Hopp 74c9c1
--- 2706,2718 ----
Karsten Hopp 74c9c1
  		else
Karsten Hopp 74c9c1
  		    ea.line2 = ARGCOUNT;
Karsten Hopp 74c9c1
  		break;
Karsten Hopp 74c9c1
+ #ifdef FEAT_QUICKFIX
Karsten Hopp 74c9c1
  	    case ADDR_QUICKFIX:
Karsten Hopp 74c9c1
  		ea.line2 = qf_get_size(&ea);
Karsten Hopp 74c9c1
  		if (ea.line2 == 0)
Karsten Hopp 74c9c1
  		    ea.line2 = 1;
Karsten Hopp 74c9c1
  		break;
Karsten Hopp 74c9c1
+ #endif
Karsten Hopp 74c9c1
  	}
Karsten Hopp 74c9c1
      }
Karsten Hopp 74c9c1
  
Karsten Hopp 74c9c1
***************
Karsten Hopp 74c9c1
*** 4340,4346 ****
Karsten Hopp 74c9c1
   */
Karsten Hopp 74c9c1
      static linenr_T
Karsten Hopp 74c9c1
  get_address(eap, ptr, addr_type, skip, to_other_file)
Karsten Hopp 74c9c1
!     exarg_T	*eap;
Karsten Hopp 74c9c1
      char_u	**ptr;
Karsten Hopp 74c9c1
      int		addr_type;  /* flag: one of ADDR_LINES, ... */
Karsten Hopp 74c9c1
      int		skip;	    /* only skip the address, don't use it */
Karsten Hopp 74c9c1
--- 4346,4352 ----
Karsten Hopp 74c9c1
   */
Karsten Hopp 74c9c1
      static linenr_T
Karsten Hopp 74c9c1
  get_address(eap, ptr, addr_type, skip, to_other_file)
Karsten Hopp 74c9c1
!     exarg_T	*eap UNUSED;
Karsten Hopp 74c9c1
      char_u	**ptr;
Karsten Hopp 74c9c1
      int		addr_type;  /* flag: one of ADDR_LINES, ... */
Karsten Hopp 74c9c1
      int		skip;	    /* only skip the address, don't use it */
Karsten Hopp 74c9c1
***************
Karsten Hopp 74c9c1
*** 4381,4389 ****
Karsten Hopp 74c9c1
--- 4387,4397 ----
Karsten Hopp 74c9c1
  		    case ADDR_TABS:
Karsten Hopp 74c9c1
  			lnum = CURRENT_TAB_NR;
Karsten Hopp 74c9c1
  			break;
Karsten Hopp 74c9c1
+ #ifdef FEAT_QUICKFIX
Karsten Hopp 74c9c1
  		    case ADDR_QUICKFIX:
Karsten Hopp 74c9c1
  			lnum = qf_get_cur_valid_idx(eap);
Karsten Hopp 74c9c1
  			break;
Karsten Hopp 74c9c1
+ #endif
Karsten Hopp 74c9c1
  		}
Karsten Hopp 74c9c1
  		break;
Karsten Hopp 74c9c1
  
Karsten Hopp 74c9c1
***************
Karsten Hopp 74c9c1
*** 4416,4426 ****
Karsten Hopp 74c9c1
--- 4424,4436 ----
Karsten Hopp 74c9c1
  		    case ADDR_TABS:
Karsten Hopp 74c9c1
  			lnum = LAST_TAB_NR;
Karsten Hopp 74c9c1
  			break;
Karsten Hopp 74c9c1
+ #ifdef FEAT_QUICKFIX
Karsten Hopp 74c9c1
  		    case ADDR_QUICKFIX:
Karsten Hopp 74c9c1
  			lnum = qf_get_size(eap);
Karsten Hopp 74c9c1
  			if (lnum == 0)
Karsten Hopp 74c9c1
  			    lnum = 1;
Karsten Hopp 74c9c1
  			break;
Karsten Hopp 74c9c1
+ #endif
Karsten Hopp 74c9c1
  		}
Karsten Hopp 74c9c1
  		break;
Karsten Hopp 74c9c1
  
Karsten Hopp 74c9c1
***************
Karsten Hopp 74c9c1
*** 4596,4604 ****
Karsten Hopp 74c9c1
--- 4606,4616 ----
Karsten Hopp 74c9c1
  		    case ADDR_TABS:
Karsten Hopp 74c9c1
  			lnum = CURRENT_TAB_NR;
Karsten Hopp 74c9c1
  			break;
Karsten Hopp 74c9c1
+ #ifdef FEAT_QUICKFIX
Karsten Hopp 74c9c1
  		    case ADDR_QUICKFIX:
Karsten Hopp 74c9c1
  			lnum = qf_get_cur_valid_idx(eap);
Karsten Hopp 74c9c1
  			break;
Karsten Hopp 74c9c1
+ #endif
Karsten Hopp 74c9c1
  		}
Karsten Hopp 74c9c1
  	    }
Karsten Hopp 74c9c1
  
Karsten Hopp 74c9c1
***************
Karsten Hopp 74c9c1
*** 4737,4746 ****
Karsten Hopp 74c9c1
--- 4749,4760 ----
Karsten Hopp 74c9c1
  		if (eap->line2 > LAST_TAB_NR)
Karsten Hopp 74c9c1
  		    return (char_u *)_(e_invrange);
Karsten Hopp 74c9c1
  		break;
Karsten Hopp 74c9c1
+ #ifdef FEAT_QUICKFIX
Karsten Hopp 74c9c1
  	    case ADDR_QUICKFIX:
Karsten Hopp 74c9c1
  		if (eap->line2 != 1 && eap->line2 > qf_get_size(eap))
Karsten Hopp 74c9c1
  		    return (char_u *)_(e_invrange);
Karsten Hopp 74c9c1
  		break;
Karsten Hopp 74c9c1
+ #endif
Karsten Hopp 74c9c1
  	}
Karsten Hopp 74c9c1
      }
Karsten Hopp 74c9c1
      return NULL;
Karsten Hopp 74c9c1
*** ../vim-7.4.863/src/version.c	2015-09-09 20:59:34.013186842 +0200
Karsten Hopp 74c9c1
--- src/version.c	2015-09-09 21:09:48.691066099 +0200
Karsten Hopp 74c9c1
***************
Karsten Hopp 74c9c1
*** 743,744 ****
Karsten Hopp 74c9c1
--- 743,746 ----
Karsten Hopp 74c9c1
  {   /* Add new patch number below this line */
Karsten Hopp 74c9c1
+ /**/
Karsten Hopp 74c9c1
+     864,
Karsten Hopp 74c9c1
  /**/
Karsten Hopp 74c9c1
Karsten Hopp 74c9c1
-- 
Karsten Hopp 74c9c1
DENNIS: Look,  strange women lying on their backs in ponds handing out
Karsten Hopp 74c9c1
        swords ... that's no basis for a system of government.  Supreme
Karsten Hopp 74c9c1
        executive power derives from a mandate from the masses, not from some
Karsten Hopp 74c9c1
        farcical aquatic ceremony.
Karsten Hopp 74c9c1
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 74c9c1
Karsten Hopp 74c9c1
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 74c9c1
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 74c9c1
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 74c9c1
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///