Hisashi T Fujinaka wrote:

> I think this worked for me, because there's something odd in 10.6 where
> gvim crashes. The crash log says
> 
> Application Specific Information:
> abort() called
> USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER
> 
> Anything that uses CoreFoundation isn't supposed just to fork, and the
> vim GUI in fink uses CoreFoundation via gtk+2.
> 
> So I applied this patch (which I hope is right):
> 
> 
> diff -Naur vim-7.3.069.orig/src/gui.c vim-7.3.069/src/gui.c
> --- vim-7.3.069.orig/src/gui.c        2010-11-25 14:56:25.000000000 -0800
> +++ vim-7.3.069/src/gui.c     2010-11-25 14:58:35.000000000 -0800
> @@ -59,7 +59,7 @@
>   gui_start()
>   {
>       char_u  *old_term;
> -#if defined(UNIX) && !defined(__BEOS__) && !defined(MACOS_X)
> +#if defined(UNIX) && !defined(__BEOS__) && !defined(MACOS_X) && 
> !defined(__APPLE__)
>   # define MAY_FORK
>       int             dofork = TRUE;
>   #endif

I wonder why __APPLE__ is defined while MACOS_X isn't.  Perhaps the
solution would be to define MACOS_X ?  I don't know what version you are
building.

-- 
Hanson's Treatment of Time:
        There are never enough hours in a day, but always too
        many days before Saturday.

 /// Bram Moolenaar -- b...@moolenaar.net -- 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

Reply via email to