Patch 8.0.0853
Problem:    Crash when running terminal with unknown command.
Solution:   Check "term" not to be NULL. (Yasuhiro Matsumoto, closes #1932)
Files:      src/terminal.c


*** ../vim-8.0.0852/src/terminal.c      2017-08-03 17:06:40.973493469 +0200
--- src/terminal.c      2017-08-03 19:13:38.857755280 +0200
***************
*** 629,635 ****
  {
      /* Also consider the job finished when the channel is closed, to avoid a
       * race condition when updating the title. */
!     return term->tl_job != NULL
        && term->tl_job->jv_status == JOB_STARTED
        && channel_is_open(term->tl_job->jv_channel);
  }
--- 629,636 ----
  {
      /* Also consider the job finished when the channel is closed, to avoid a
       * race condition when updating the title. */
!     return term != NULL
!       && term->tl_job != NULL
        && term->tl_job->jv_status == JOB_STARTED
        && channel_is_open(term->tl_job->jv_channel);
  }
*** ../vim-8.0.0852/src/version.c       2017-08-03 18:54:54.857872933 +0200
--- src/version.c       2017-08-03 19:14:31.829372677 +0200
***************
*** 771,772 ****
--- 771,774 ----
  {   /* Add new patch number below this line */
+ /**/
+     853,
  /**/


-- 
"Hegel was right when he said that we learn from history that man can
never learn anything from history."       (George Bernard Shaw)

 /// 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.

Raspunde prin e-mail lui