changeset 80611:ab61e807a6da

Mention setsid after vfork.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Thu, 17 Jul 2008 09:07:06 +0000
parents a6adb4611f10
children 0436fdfe2a5f
files src/s/darwin.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/darwin.h	Thu Jul 17 09:06:58 2008 +0000
+++ b/src/s/darwin.h	Thu Jul 17 09:07:06 2008 +0000
@@ -337,7 +337,8 @@
 
 /* The following solves the problem that Emacs hangs when evaluating
    (make-comint "test0" "/nodir/nofile" nil "") when /nodir/nofile
-   does not exist.  */
+   does not exist.  Also, setsid is not allowed in the vfork child's
+   context as of Darwin 9/Mac OS X 10.5.  */
 #undef HAVE_WORKING_VFORK
 #define vfork fork