changeset 47031:56242900e171

2002-08-25 Andrew Choi <akochoi@shaw.ca> * s/darwin.h (HAVE_WORKING_VFORK): #undef it. Define vfork to fork.
author Andrew Choi <akochoi@shaw.ca>
date Sun, 25 Aug 2002 16:44:51 +0000
parents 085ca259e580
children 4e4bf31455d6
files src/ChangeLog src/s/darwin.h
diffstat 2 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Aug 25 16:40:40 2002 +0000
+++ b/src/ChangeLog	Sun Aug 25 16:44:51 2002 +0000
@@ -1,5 +1,8 @@
 2002-08-25  Andrew Choi  <akochoi@shaw.ca>
 
+	* s/darwin.h (HAVE_WORKING_VFORK): #undef it.  Define vfork to
+	fork.
+
 	* macterm.c (XTread_socket): Remove code to call
 	SendEventToEventTarget for keys with command modifiers when
 	mac_command_key_is_meta is nil.
--- a/src/s/darwin.h	Sun Aug 25 16:40:40 2002 +0000
+++ b/src/s/darwin.h	Sun Aug 25 16:44:51 2002 +0000
@@ -297,11 +297,11 @@
 struct kboard;
 #endif
 
-
-/* This makes create_process in process.c save and restore signal
-   handlers correctly.  Suggested by Nozomu Ando.*/
-#define POSIX_SIGNALS
-
+/* The following solves the problem that Emacs hangs when evaluating
+   (make-comint "test0" "/nodir/nofile" nil "") when /nodir/nofile
+   does not exist.  */
+#undef HAVE_WORKING_VFORK
+#define vfork fork
 
 #ifdef temacs
 #define malloc unexec_malloc