Karsten Hopp 9fe8fe
To: vim_dev@googlegroups.com
Karsten Hopp 9fe8fe
Subject: Patch 7.4.837
Karsten Hopp 9fe8fe
Fcc: outbox
Karsten Hopp 9fe8fe
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 9fe8fe
Mime-Version: 1.0
Karsten Hopp 9fe8fe
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 9fe8fe
Content-Transfer-Encoding: 8bit
Karsten Hopp 9fe8fe
------------
Karsten Hopp 9fe8fe
Karsten Hopp 9fe8fe
Patch 7.4.837
Karsten Hopp 9fe8fe
Problem:    Compiler warning with MSVC compiler when using +sniff.
Karsten Hopp 9fe8fe
Solution:   Use Sleep() instead of _sleep(). (Tux)
Karsten Hopp 9fe8fe
Files:      src/if_sniff.c
Karsten Hopp 9fe8fe
Karsten Hopp 9fe8fe
Karsten Hopp 9fe8fe
*** ../vim-7.4.836/src/if_sniff.c	2012-06-20 19:56:09.000000000 +0200
Karsten Hopp 9fe8fe
--- src/if_sniff.c	2015-08-25 19:49:03.289172373 +0200
Karsten Hopp 9fe8fe
***************
Karsten Hopp 9fe8fe
*** 655,661 ****
Karsten Hopp 9fe8fe
--- 655,665 ----
Karsten Hopp 9fe8fe
      else
Karsten Hopp 9fe8fe
      {
Karsten Hopp 9fe8fe
  #ifdef WIN32
Karsten Hopp 9fe8fe
+ # if (defined(_MSC_VER) && _MSC_VER >= 1400)
Karsten Hopp 9fe8fe
+         Sleep(2);
Karsten Hopp 9fe8fe
+ # else
Karsten Hopp 9fe8fe
  	_sleep(2);
Karsten Hopp 9fe8fe
+ # endif
Karsten Hopp 9fe8fe
  	if (!sniff_request_processed)
Karsten Hopp 9fe8fe
  	    ProcessSniffRequests();
Karsten Hopp 9fe8fe
  #else
Karsten Hopp 9fe8fe
*** ../vim-7.4.836/src/version.c	2015-08-25 16:48:56.072640146 +0200
Karsten Hopp 9fe8fe
--- src/version.c	2015-08-25 19:48:21.269605069 +0200
Karsten Hopp 9fe8fe
***************
Karsten Hopp 9fe8fe
*** 743,744 ****
Karsten Hopp 9fe8fe
--- 743,746 ----
Karsten Hopp 9fe8fe
  {   /* Add new patch number below this line */
Karsten Hopp 9fe8fe
+ /**/
Karsten Hopp 9fe8fe
+     837,
Karsten Hopp 9fe8fe
  /**/
Karsten Hopp 9fe8fe
Karsten Hopp 9fe8fe
-- 
Karsten Hopp 9fe8fe
It is illegal for anyone to give lighted cigars to dogs, cats, and other
Karsten Hopp 9fe8fe
domesticated animal kept as pets.
Karsten Hopp 9fe8fe
		[real standing law in Illinois, United States of America]
Karsten Hopp 9fe8fe
Karsten Hopp 9fe8fe
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 9fe8fe
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 9fe8fe
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 9fe8fe
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///