From dad50a6dfe40ae86029368a879105aaa6d0c0e08 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 5 Dec 2001 18:33:38 +0000 Subject: [PATCH] (HAVE_VFORK): Define if undefined. --- src/ChangeLog | 4 ++++ src/s/sol2-5.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 0187c639c44..4353ed6b64f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-12-05 Eli Zaretskii + + * s/sol2-5.h (HAVE_VFORK): Define if undefined. + 2001-11-29 Dave Love * coding.c (syms_of_coding) : Give it an diff --git a/src/s/sol2-5.h b/src/s/sol2-5.h index 9931e97d375..913efeefe8e 100644 --- a/src/s/sol2-5.h +++ b/src/s/sol2-5.h @@ -24,6 +24,11 @@ #undef USE_MMAP_FOR_BUFFERS +/* This prevents crashes in "M-x shell". */ +#ifndef HAVE_VFORK +#define HAVE_VFORK 1 +#endif + #if 0 /* A recent patch in unexelf.c should eliminate the need for this. */ /* Don't use the shared libraries for -lXt and -lXaw, to work around a linker bug in Solaris 2.5. -- 2.39.2