Karsten Hopp d9418b
To: vim_dev@googlegroups.com
Karsten Hopp d9418b
Subject: Patch 7.3.118
Karsten Hopp d9418b
Fcc: outbox
Karsten Hopp d9418b
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp d9418b
Mime-Version: 1.0
Karsten Hopp d9418b
Content-Type: text/plain; charset=UTF-8
Karsten Hopp d9418b
Content-Transfer-Encoding: 8bit
Karsten Hopp d9418b
------------
Karsten Hopp d9418b
Karsten Hopp d9418b
Patch 7.3.118
Karsten Hopp d9418b
Problem:    Ruby uses SIGVTALARM which makes Vim exit. (Alec Tica)
Karsten Hopp d9418b
Solution:   Ignore SIGVTALARM. (Dominique Pelle)
Karsten Hopp d9418b
Files:	    src/os_unix.c
Karsten Hopp d9418b
Karsten Hopp d9418b
Karsten Hopp d9418b
*** ../vim-7.3.117/src/os_unix.c	2010-12-17 16:27:10.000000000 +0100
Karsten Hopp d9418b
--- src/os_unix.c	2011-02-09 18:19:57.000000000 +0100
Karsten Hopp d9418b
***************
Karsten Hopp d9418b
*** 283,289 ****
Karsten Hopp d9418b
  #ifdef SIGTERM
Karsten Hopp d9418b
      {SIGTERM,	    "TERM",	TRUE},
Karsten Hopp d9418b
  #endif
Karsten Hopp d9418b
! #ifdef SIGVTALRM
Karsten Hopp d9418b
      {SIGVTALRM,	    "VTALRM",	TRUE},
Karsten Hopp d9418b
  #endif
Karsten Hopp d9418b
  #if defined(SIGPROF) && !defined(FEAT_MZSCHEME) && !defined(WE_ARE_PROFILING)
Karsten Hopp d9418b
--- 283,289 ----
Karsten Hopp d9418b
  #ifdef SIGTERM
Karsten Hopp d9418b
      {SIGTERM,	    "TERM",	TRUE},
Karsten Hopp d9418b
  #endif
Karsten Hopp d9418b
! #if defined(SIGVTALRM) && !defined(FEAT_RUBY)
Karsten Hopp d9418b
      {SIGVTALRM,	    "VTALRM",	TRUE},
Karsten Hopp d9418b
  #endif
Karsten Hopp d9418b
  #if defined(SIGPROF) && !defined(FEAT_MZSCHEME) && !defined(WE_ARE_PROFILING)
Karsten Hopp d9418b
***************
Karsten Hopp d9418b
*** 1107,1113 ****
Karsten Hopp d9418b
   * On Linux, signal is not always handled immediately either.
Karsten Hopp d9418b
   * See https://bugs.launchpad.net/bugs/291373
Karsten Hopp d9418b
   *
Karsten Hopp d9418b
!  * volatile because it is used in in signal handler sigcont_handler().
Karsten Hopp d9418b
   */
Karsten Hopp d9418b
  static volatile int sigcont_received;
Karsten Hopp d9418b
  static RETSIGTYPE sigcont_handler __ARGS(SIGPROTOARG);
Karsten Hopp d9418b
--- 1107,1113 ----
Karsten Hopp d9418b
   * On Linux, signal is not always handled immediately either.
Karsten Hopp d9418b
   * See https://bugs.launchpad.net/bugs/291373
Karsten Hopp d9418b
   *
Karsten Hopp d9418b
!  * volatile because it is used in signal handler sigcont_handler().
Karsten Hopp d9418b
   */
Karsten Hopp d9418b
  static volatile int sigcont_received;
Karsten Hopp d9418b
  static RETSIGTYPE sigcont_handler __ARGS(SIGPROTOARG);
Karsten Hopp d9418b
*** ../vim-7.3.117/src/version.c	2011-02-09 17:42:53.000000000 +0100
Karsten Hopp d9418b
--- src/version.c	2011-02-09 18:46:53.000000000 +0100
Karsten Hopp d9418b
***************
Karsten Hopp d9418b
*** 716,717 ****
Karsten Hopp d9418b
--- 716,719 ----
Karsten Hopp d9418b
  {   /* Add new patch number below this line */
Karsten Hopp d9418b
+ /**/
Karsten Hopp d9418b
+     118,
Karsten Hopp d9418b
  /**/
Karsten Hopp d9418b
Karsten Hopp d9418b
-- 
Karsten Hopp d9418b
hundred-and-one symptoms of being an internet addict:
Karsten Hopp d9418b
221. Your wife melts your keyboard in the oven.
Karsten Hopp d9418b
Karsten Hopp d9418b
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp d9418b
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp d9418b
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp d9418b
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///