From 67d441ba361fb60af9d46f74a23ba3e6c232244f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 20 Jun 2011 00:53:15 +0200 Subject: [PATCH] updated for version 7.3.229 Problem: Using fork() makes gvim crash on Mac when build with CoreFoundation. Solution: Disallow fork() when __APPLE__ is defined. (Hisashi T Fujinaka) --- src/gui.c | 3 ++- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui.c b/src/gui.c index 4255607a7..244dbd547 100644 --- a/src/gui.c +++ b/src/gui.c @@ -59,7 +59,8 @@ static int can_update_cursor = TRUE; /* can display the cursor */ 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 diff --git a/src/version.c b/src/version.c index 81ab3f7a6..702122180 100644 --- a/src/version.c +++ b/src/version.c @@ -709,6 +709,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 229, /**/ 228, /**/ -- 2.50.1