diff options
| author | Joakim Verona | 2012-04-26 11:52:04 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-04-26 11:52:04 +0200 |
| commit | ab5b626f97ea7d71a98a06d8cc777fa925a1f716 (patch) | |
| tree | 7961d0e6b583290e1480771cd0fabd00f4ea7f86 /src/s | |
| parent | 2ec5843f029c7d55234dbe51d993003b2b3939ec (diff) | |
| parent | ab036cd7bdd7b087047d241ffb5607d14942179e (diff) | |
| download | emacs-ab5b626f97ea7d71a98a06d8cc777fa925a1f716.tar.gz emacs-ab5b626f97ea7d71a98a06d8cc777fa925a1f716.zip | |
upstream partial out of memory
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 |