Karsten Hopp 9a82bd
To: vim_dev@googlegroups.com
Karsten Hopp 9a82bd
Subject: Patch 7.3.312
Karsten Hopp 9a82bd
Fcc: outbox
Karsten Hopp 9a82bd
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 9a82bd
Mime-Version: 1.0
Karsten Hopp 9a82bd
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 9a82bd
Content-Transfer-Encoding: 8bit
Karsten Hopp 9a82bd
------------
Karsten Hopp 9a82bd
Karsten Hopp 9a82bd
Patch 7.3.312 (after 7.3.306)
Karsten Hopp 9a82bd
Problem:    Can't compile with tiny features.
Karsten Hopp 9a82bd
Solution:   Add #ifdef around win_valid().
Karsten Hopp 9a82bd
Files:	    src/buffer.c
Karsten Hopp 9a82bd
Karsten Hopp 9a82bd
Karsten Hopp 9a82bd
*** ../vim-7.3.311/src/buffer.c	2011-09-14 14:43:21.000000000 +0200
Karsten Hopp 9a82bd
--- src/buffer.c	2011-09-14 17:46:24.000000000 +0200
Karsten Hopp 9a82bd
***************
Karsten Hopp 9a82bd
*** 416,422 ****
Karsten Hopp 9a82bd
  #endif
Karsten Hopp 9a82bd
  
Karsten Hopp 9a82bd
      buf_freeall(buf, (del_buf ? BFA_DEL : 0) + (wipe_buf ? BFA_WIPE : 0));
Karsten Hopp 9a82bd
!     if (win_valid(win) && win->w_buffer == buf)
Karsten Hopp 9a82bd
  	win->w_buffer = NULL;  /* make sure we don't use the buffer now */
Karsten Hopp 9a82bd
  
Karsten Hopp 9a82bd
  #ifdef FEAT_AUTOCMD
Karsten Hopp 9a82bd
--- 416,426 ----
Karsten Hopp 9a82bd
  #endif
Karsten Hopp 9a82bd
  
Karsten Hopp 9a82bd
      buf_freeall(buf, (del_buf ? BFA_DEL : 0) + (wipe_buf ? BFA_WIPE : 0));
Karsten Hopp 9a82bd
!     if (
Karsten Hopp 9a82bd
! #ifdef FEAT_WINDOWS
Karsten Hopp 9a82bd
! 	win_valid(win) &&
Karsten Hopp 9a82bd
! #endif
Karsten Hopp 9a82bd
! 			  win->w_buffer == buf)
Karsten Hopp 9a82bd
  	win->w_buffer = NULL;  /* make sure we don't use the buffer now */
Karsten Hopp 9a82bd
  
Karsten Hopp 9a82bd
  #ifdef FEAT_AUTOCMD
Karsten Hopp 9a82bd
*** ../vim-7.3.311/src/version.c	2011-09-14 16:52:02.000000000 +0200
Karsten Hopp 9a82bd
--- src/version.c	2011-09-14 17:27:24.000000000 +0200
Karsten Hopp 9a82bd
***************
Karsten Hopp 9a82bd
*** 711,712 ****
Karsten Hopp 9a82bd
--- 711,714 ----
Karsten Hopp 9a82bd
  {   /* Add new patch number below this line */
Karsten Hopp 9a82bd
+ /**/
Karsten Hopp 9a82bd
+     312,
Karsten Hopp 9a82bd
  /**/
Karsten Hopp 9a82bd
Karsten Hopp 9a82bd
-- 
Karsten Hopp 9a82bd
You have heard the saying that if you put a thousand monkeys in a room with a
Karsten Hopp 9a82bd
thousand typewriters and waited long enough, eventually you would have a room
Karsten Hopp 9a82bd
full of dead monkeys.
Karsten Hopp 9a82bd
				(Scott Adams - The Dilbert principle)
Karsten Hopp 9a82bd
Karsten Hopp 9a82bd
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 9a82bd
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 9a82bd
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 9a82bd
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///