Patch 7.3.1276
Problem:    When using a cscope connection resizing the window may send
            SIGWINCH to cscope and it quits.
Solution:   Call setpgid(0, 0) in the child process. (Narendran Gopalakrishnan)
Files:      src/if_cscope.c


*** ../vim-7.3.1275/src/if_cscope.c     2013-06-12 21:25:04.000000000 +0200
--- src/if_cscope.c     2013-06-30 14:59:21.000000000 +0200
***************
*** 997,1002 ****
--- 997,1011 ----
        vim_free(ppath);
  
  #if defined(UNIX)
+ # if defined(HAVE_SETSID) || defined(HAVE_SETPGID)
+       /* Change our process group to avoid cscope receiving SIGWINCH. */
+ #  if defined(HAVE_SETSID)
+       (void)setsid();
+ #  else
+       if (setpgid(0, 0) == -1)
+           PERROR(_("cs_create_connection setpgid failed"));
+ #  endif
+ # endif
        if (execl("/bin/sh", "sh", "-c", cmd, (char *)NULL) == -1)
            PERROR(_("cs_create_connection exec failed"));
  
*** ../vim-7.3.1275/src/version.c       2013-06-30 14:46:50.000000000 +0200
--- src/version.c       2013-06-30 15:00:06.000000000 +0200
***************
*** 730,731 ****
--- 730,733 ----
  {   /* Add new patch number below this line */
+ /**/
+     1276,
  /**/

-- 
Individualists unite!

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui