From: Daniel Colascione Date: Wed, 11 Apr 2012 11:43:55 +0000 (+0200) Subject: Use the real vfork under Cygwin X-Git-Tag: emacs-24.2.90~471^2~364^2~33 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0fc59f1e602e53c96669fa0b93a99c46472af534;p=emacs.git Use the real vfork under Cygwin * s/cygwin.h: The vfork the #define in cygwin.h was protecting against is gone. It's better to use vfork now so that when Cygwin gains a new, working vfork, we use it automatically. Fixes: debbugs:10398 --- diff --git a/src/ChangeLog b/src/ChangeLog index 9fecec34870..a55189fb3c3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2012-04-11 Daniel Colascione + + * s/cygwin.h: The vfork the #define in cygwin.h was protecting + against is gone. It's better to use vfork now so that when Cygwin + gains a new, working vfork, we use it automatically (bug#10398). + 2012-04-11 Stefan Monnier * window.c (save_window_save): Obey window-point-insertion-type. diff --git a/src/s/cygwin.h b/src/s/cygwin.h index 9a371829eaa..70d64a50c4e 100644 --- a/src/s/cygwin.h +++ b/src/s/cygwin.h @@ -81,10 +81,6 @@ along with GNU Emacs. If not, see . */ #define HAVE_SOCKETS -/* vfork() interacts badly with setsid(), causing ptys to fail to - change their controlling terminal */ -#define vfork fork - /* This should work (at least when compiling with gcc). But I have no way or intention to verify or even test it. If you encounter a problem with it, feel free to change this setting, but please add a comment here about