From 5cb724f0672f9a3ca0e962dae13e220a4ae3c3c1 Mon Sep 17 00:00:00 2001
From: Andrew Choi <akochoi@shaw.ca>
Date: Sun, 25 Aug 2002 17:43:29 +0000
Subject: [PATCH] 2002-08-25  Andrew Choi  <akochoi@shaw.ca>

	* s/darwin.h (DONT_REOPEN_PTY): #def it.
---
 src/ChangeLog  | 3 ++-
 src/s/darwin.h | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/ChangeLog b/src/ChangeLog
index a6e41b4bc75..1f6f1134f63 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -6,7 +6,8 @@
 	* s/darwin.h (select): Define select to sys_select only if
 	HAVE_CARBON is defined.
 	(HAVE_WORKING_VFORK): #undef it.  Define vfork to fork.
-
+	(DONT_REOPEN_PTY): #def it.
+	
 	* macterm.c (XTread_socket): Remove code to call
 	SendEventToEventTarget for keys with command modifiers when
 	mac_command_key_is_meta is nil.
diff --git a/src/s/darwin.h b/src/s/darwin.h
index 6fd4b94dde0..7f5191a26d8 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -302,6 +302,7 @@ struct kboard;
    does not exist.  */
 #undef HAVE_WORKING_VFORK
 #define vfork fork
+#define DONT_REOPEN_PTY
 
 #ifdef temacs
 #define malloc unexec_malloc
-- 
2.39.5