57502c0
To: vim-dev@vim.org
57502c0
Subject: Patch 7.0.027 (extra)
57502c0
Fcc: outbox
57502c0
From: Bram Moolenaar <Bram@moolenaar.net>
57502c0
Mime-Version: 1.0
57502c0
Content-Type: text/plain; charset=ISO-8859-1
57502c0
Content-Transfer-Encoding: 8bit
57502c0
------------
57502c0
57502c0
Patch 7.0.027 (extra)
57502c0
Problem:    Win32: When compiled with SNIFF gvim may hang on exit.
57502c0
Solution:   Translate and dispatch the WM_USER message. (Mathias Michaelis)
57502c0
Files:	    src/gui_w48.c
57502c0
57502c0
57502c0
*** ../vim-7.0.026/src/gui_w48.c	Thu Apr 27 01:52:16 2006
57502c0
--- src/gui_w48.c	Sat Jun 17 13:23:26 2006
57502c0
***************
57502c0
*** 1664,1670 ****
57502c0
--- 1664,1674 ----
57502c0
  	/* request is handled in normal.c */
57502c0
      }
57502c0
      if (msg.message == WM_USER)
57502c0
+     {
57502c0
+ 	MyTranslateMessage(&msg)
57502c0
+ 	DispatchMessage(&msg;;
57502c0
  	return;
57502c0
+     }
57502c0
  #endif
57502c0
  
57502c0
  #ifdef MSWIN_FIND_REPLACE
57502c0
*** ../vim-7.0.026/src/version.c	Thu Jun 22 18:06:48 2006
57502c0
--- src/version.c	Thu Jun 22 18:20:40 2006
57502c0
***************
57502c0
*** 668,669 ****
57502c0
--- 668,671 ----
57502c0
  {   /* Add new patch number below this line */
57502c0
+ /**/
57502c0
+     27,
57502c0
  /**/
57502c0
57502c0
-- 
57502c0
SIGFUN -- signature too funny (core dumped)
57502c0
57502c0
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
57502c0
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
57502c0
\\\        download, build and distribute -- http://www.A-A-P.org        ///
57502c0
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///