diff options
| author | Paul Eggert | 2012-04-13 21:37:44 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-04-13 21:37:44 -0700 |
| commit | bdf35b6a6a78e444563a8e321ccb42b4b4a419bd (patch) | |
| tree | e96324ace186c7acc92182a255c3aa7ff315b82f /src/s | |
| parent | 1530927cb9a3dca7c0f41975f2e9e62ef8be92a2 (diff) | |
| parent | d5e6342ed5e408014019c478ce16a47a2aad418b (diff) | |
| download | emacs-bdf35b6a6a78e444563a8e321ccb42b4b4a419bd.tar.gz emacs-bdf35b6a6a78e444563a8e321ccb42b4b4a419bd.zip | |
Merge from trunk.
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/cygwin.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/s/cygwin.h b/src/s/cygwin.h index 9a371829eaa..f8c656e8ebc 100644 --- a/src/s/cygwin.h +++ b/src/s/cygwin.h | |||
| @@ -58,7 +58,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 58 | if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \ | 58 | if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \ |
| 59 | fd = -1; \ | 59 | fd = -1; \ |
| 60 | sigsetmask (mask); \ | 60 | sigsetmask (mask); \ |
| 61 | emacs_close (dummy); \ | 61 | if (fd >= 0) \ |
| 62 | emacs_close (dummy); \ | ||
| 62 | } \ | 63 | } \ |
| 63 | while (0) | 64 | while (0) |
| 64 | 65 | ||
| @@ -81,10 +82,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 81 | 82 | ||
| 82 | #define HAVE_SOCKETS | 83 | #define HAVE_SOCKETS |
| 83 | 84 | ||
| 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 | 85 | /* 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 | 86 | 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 | 87 | it, feel free to change this setting, but please add a comment here about |