1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00

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
This commit is contained in:
Daniel Colascione 2012-04-11 13:43:55 +02:00 committed by Lars Magne Ingebrigtsen
parent 49a2697c1e
commit 0fc59f1e60
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2012-04-11 Daniel Colascione <dancol@dancol.org>
* 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 <monnier@iro.umontreal.ca>
* window.c (save_window_save): Obey window-point-insertion-type.

View File

@ -81,10 +81,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#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