Patch 7.4.1625
Problem: Trying to close file descriptor that isn't open.
Solution: Check for negative number.
Files: src/os_unix.c
*** ../vim-7.4.1624/src/os_unix.c 2016-03-19 14:12:44.962091710 +0100
--- src/os_unix.c 2016-03-20 20:53:21.234562434 +0100
***************
*** 5214,5224 ****
job->jv_channel = channel; /* ch_refcount was set above */
/* child stdin, stdout and stderr */
! if (!use_file_for_in)
close(fd_in[0]);
! if (!use_file_for_out)
close(fd_out[1]);
! if (!use_out_for_err && !use_file_for_err)
close(fd_err[1]);
if (channel != NULL)
{
--- 5214,5224 ----
job->jv_channel = channel; /* ch_refcount was set above */
/* child stdin, stdout and stderr */
! if (!use_file_for_in && fd_in[0] >= 0)
close(fd_in[0]);
! if (!use_file_for_out && fd_out[1] >= 0)
close(fd_out[1]);
! if (!use_out_for_err && !use_file_for_err && fd_err[1] >= 0)
close(fd_err[1]);
if (channel != NULL)
{
*** ../vim-7.4.1624/src/version.c 2016-03-20 20:56:56.040282977 +0100
--- src/version.c 2016-03-20 21:01:12.545564480 +0100
***************
*** 750,751 ****
--- 750,753 ----
{ /* Add new patch number below this line */
+ /**/
+ 1625,
/**/
--
>From "know your smileys":
:-& Eating spaghetti
/// 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.