Patch 7.4.1294
Problem: job_stop() only kills the started process.
Solution: Send the signal to the process group. (Olaf Dabrunz)
Files: src/os_unix.c
*** ../vim-7.4.1293/src/os_unix.c 2016-02-07 14:26:12.179054006 +0100
--- src/os_unix.c 2016-02-09 11:30:06.266140580 +0100
***************
*** 3920,3925 ****
--- 3920,3930 ----
}
#if defined(FEAT_JOB) || !defined(USE_SYSTEM) || defined(PROTO)
+ /*
+ * Parse "cmd" and put the white-separated parts in "argv".
+ * "argv" is an allocated array with "argc" entries.
+ * Returns FAIL when out of memory.
+ */
int
mch_parse_cmd(char_u *cmd, int use_shcf, char ***argv, int *argc)
{
***************
*** 5107,5113 ****
sig = atoi((char *)how);
else
return FAIL;
! kill(job->jv_pid, sig);
return OK;
}
#endif
--- 5112,5119 ----
sig = atoi((char *)how);
else
return FAIL;
! /* TODO: have an option to only kill the process, not the group? */
! kill(-job->jv_pid, sig);
return OK;
}
#endif
*** ../vim-7.4.1293/src/version.c 2016-02-08 23:23:38.137795419 +0100
--- src/version.c 2016-02-09 11:34:12.011585208 +0100
***************
*** 749,750 ****
--- 749,752 ----
{ /* Add new patch number below this line */
+ /**/
+ 1294,
/**/
--
Some of the well known MS-Windows errors:
ESLEEP Operator fell asleep
ENOERR No error yet
EDOLLAR OS too expensive
EWINDOWS MS-Windows loaded, system in danger
/// 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/d/optout.