2008/11/17 Ben Schmidt <[EMAIL PROTECTED]>:
>
>> I just updated to the latest trunk and built a new MacVim from source
>> (as I always do). Now the system() function doesn't work properly when
>> using "Launch Vim processes in a login shell".
>
> diff -r 3e5d016ea028 src/MacVim/MMAppController.m
> --- a/src/MacVim/MMAppController.m Sun Nov 16 03:34:04 2008 +1100
> +++ b/src/MacVim/MMAppController.m Tue Nov 18 03:30:10 2008 +1100
> @@ -1997,6 +1997,11 @@
> return -1;
> } else if (pid == 0) {
> // Child process
> +
> + // We need to undo our zombie avoidance as Vim waits for and needs
> + // the exit statuses of processes it spawns
> + signal(SIGCHLD, SIG_DFL);
> +
> if (close(ds[1]) == -1) exit(255);
> if (dup2(ds[0], 0) == -1) exit(255);
Thanks for the quick patch Ben. Niklas, can you confirm that this
patch fixes the problem you are seeing? (I can't reproduce it on my
machine.)
Björn
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---