diff options
| author | Daniel Colascione | 2012-04-11 13:43:55 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2012-04-11 13:43:55 +0200 |
| commit | 0fc59f1e602e53c96669fa0b93a99c46472af534 (patch) | |
| tree | 2df1814ef8a0cb7be0a414cbafcb26508a92cb97 /src | |
| parent | 49a2697c1ed851de2e93ee3ba12ab74f286f9634 (diff) | |
| download | emacs-0fc59f1e602e53c96669fa0b93a99c46472af534.tar.gz emacs-0fc59f1e602e53c96669fa0b93a99c46472af534.zip | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/s/cygwin.h | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 9fecec34870..a55189fb3c3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-04-11 Daniel Colascione <dancol@dancol.org> | ||
| 2 | |||
| 3 | * s/cygwin.h: The vfork the #define in cygwin.h was protecting | ||
| 4 | against is gone. It's better to use vfork now so that when Cygwin | ||
| 5 | gains a new, working vfork, we use it automatically (bug#10398). | ||
| 6 | |||
| 1 | 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * window.c (save_window_save): Obey window-point-insertion-type. | 9 | * 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 <http://www.gnu.org/licenses/>. */ | |||
| 81 | 81 | ||
| 82 | #define HAVE_SOCKETS | 82 | #define HAVE_SOCKETS |
| 83 | 83 | ||
| 84 | /* vfork() interacts badly with setsid(), causing ptys to fail to | ||
| 85 | change their controlling terminal */ | ||
| 86 | #define vfork fork | ||
| 87 | |||
| 88 | /* This should work (at least when compiling with gcc). But I have no way | 84 | /* This should work (at least when compiling with gcc). But I have no way |
| 89 | or intention to verify or even test it. If you encounter a problem with | 85 | or intention to verify or even test it. If you encounter a problem with |
| 90 | it, feel free to change this setting, but please add a comment here about | 86 | it, feel free to change this setting, but please add a comment here about |