Karsten Hopp 81c285
To: vim-dev@vim.org
Karsten Hopp 81c285
Subject: Patch 7.2.229
Karsten Hopp 81c285
Fcc: outbox
Karsten Hopp 81c285
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 81c285
Mime-Version: 1.0
Karsten Hopp 81c285
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 81c285
Content-Transfer-Encoding: 8bit
Karsten Hopp 81c285
------------
Karsten Hopp 81c285
Karsten Hopp 81c285
Patch 7.2.229
Karsten Hopp 81c285
Problem:    Warning for shadowed variable.
Karsten Hopp 81c285
Solution:   Rename "wait" to "wait_time".
Karsten Hopp 81c285
Files:	    src/os_unix.c
Karsten Hopp 81c285
Karsten Hopp 81c285
Karsten Hopp 81c285
*** ../vim-7.2.228/src/os_unix.c	2009-06-16 15:12:11.000000000 +0200
Karsten Hopp 81c285
--- src/os_unix.c	2009-07-09 16:24:14.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 1138,1147 ****
Karsten Hopp 81c285
       * to happen).
Karsten Hopp 81c285
       */
Karsten Hopp 81c285
      {
Karsten Hopp 81c285
! 	long wait;
Karsten Hopp 81c285
! 	for (wait = 0; !sigcont_received && wait <= 3L; wait++)
Karsten Hopp 81c285
  	    /* Loop is not entered most of the time */
Karsten Hopp 81c285
! 	    mch_delay(wait, FALSE);
Karsten Hopp 81c285
      }
Karsten Hopp 81c285
  # endif
Karsten Hopp 81c285
  
Karsten Hopp 81c285
--- 1138,1147 ----
Karsten Hopp 81c285
       * to happen).
Karsten Hopp 81c285
       */
Karsten Hopp 81c285
      {
Karsten Hopp 81c285
! 	long wait_time;
Karsten Hopp 81c285
! 	for (wait_time = 0; !sigcont_received && wait_time <= 3L; wait_time++)
Karsten Hopp 81c285
  	    /* Loop is not entered most of the time */
Karsten Hopp 81c285
! 	    mch_delay(wait_time, FALSE);
Karsten Hopp 81c285
      }
Karsten Hopp 81c285
  # endif
Karsten Hopp 81c285
  
Karsten Hopp 81c285
*** ../vim-7.2.228/src/version.c	2009-07-09 21:22:36.000000000 +0200
Karsten Hopp 81c285
--- src/version.c	2009-07-14 12:18:21.000000000 +0200
Karsten Hopp 81c285
***************
Karsten Hopp 81c285
*** 678,679 ****
Karsten Hopp 81c285
--- 678,681 ----
Karsten Hopp 81c285
  {   /* Add new patch number below this line */
Karsten Hopp 81c285
+ /**/
Karsten Hopp 81c285
+     229,
Karsten Hopp 81c285
  /**/
Karsten Hopp 81c285
Karsten Hopp 81c285
-- 
Karsten Hopp 81c285
From "know your smileys":
Karsten Hopp 81c285
 :-)	Funny
Karsten Hopp 81c285
 |-)	Funny Oriental
Karsten Hopp 81c285
 (-:	Funny Australian
Karsten Hopp 81c285
Karsten Hopp 81c285
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 81c285
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 81c285
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 81c285
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///