From 09740ad8a9c82b51464d3f718daf1f9fc3779a99 Mon Sep 17 00:00:00 2001 From: Andrew Choi Date: Mon, 1 Jul 2002 23:30:21 +0000 Subject: [PATCH] 2002-07-01 Andrew Choi * s/darwin.h: Define POSIX_SIGNALS. --- src/ChangeLog | 2 ++ src/s/darwin.h | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index f2ebcdd5b30..0881aa1a2c4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2002-07-01 Andrew Choi + * s/darwin.h: Define POSIX_SIGNALS. + * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef and FSRefMakePath to convert FSSpec returned with Apple Event to Posix pathname. diff --git a/src/s/darwin.h b/src/s/darwin.h index 0d38ea5c196..59f63f57189 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h @@ -1,5 +1,5 @@ /* System description header file for Darwin (Mac OS X). - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001, 2002 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -291,6 +291,12 @@ Boston, MA 02111-1307, USA. */ struct kboard; #endif + +/* This makes create_process in process.c save and restore signal + handlers correctly. Suggested by Nozomu Ando.*/ +#define POSIX_SIGNALS + + #ifdef temacs #define malloc unexec_malloc #define realloc unexec_realloc -- 2.39.2