Patch 7.4.1507
Problem: Crash when starting a job fails.
Solution: Check for the channel to be NULL. (idea by Yasuhiro Matsumoto)
Files: src/eval.c
*** ../vim-7.4.1506/src/eval.c 2016-03-06 23:06:20.663506802 +0100
--- src/eval.c 2016-03-07 15:20:46.072426942 +0100
***************
*** 15262,15268 ****
#ifdef FEAT_CHANNEL
/* If the channel is reading from a buffer, write lines now. */
! channel_write_in(job->jv_channel);
#endif
theend:
--- 15262,15269 ----
#ifdef FEAT_CHANNEL
/* If the channel is reading from a buffer, write lines now. */
! if (job->jv_channel != NULL)
! channel_write_in(job->jv_channel);
#endif
theend:
*** ../vim-7.4.1506/src/version.c 2016-03-06 23:06:20.671506716 +0100
--- src/version.c 2016-03-07 15:23:32.234710007 +0100
***************
*** 745,746 ****
--- 745,748 ----
{ /* Add new patch number below this line */
+ /**/
+ 1507,
/**/
--
It's totally unfair to suggest - as many have - that engineers are socially
inept. Engineers simply have different objectives when it comes to social
interaction.
(Scott Adams - The Dilbert principle)
/// 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.