summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/s/darwin.h5
-rw-r--r--src/s/freebsd.h5
-rw-r--r--src/s/netbsd.h5
4 files changed, 3 insertions, 15 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index be42db2468a..244ba0148ca 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
2012-07-11 Glenn Morris <rgm@gnu.org>
+ * s/darwin.h, s/freebsd.h, s/netbsd.h:
+ Move DONT_REOPEN_PTY to configure.
+
* sound.c (DEFAULT_SOUND_DEVICE) [!WINDOWSNT]:
* s/netbsd.h (DEFAULT_SOUND_DEVICE): Let configure set it.
diff --git a/src/s/darwin.h b/src/s/darwin.h
index 6b3e680c5d9..9371afee5e8 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -126,8 +126,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
context as of Darwin 9/Mac OS X 10.5. */
#undef HAVE_WORKING_VFORK
#define vfork fork
-
-/* Don't close pty in process.c to make it as controlling terminal.
- It is already a controlling terminal of subprocess, because we did
- ioctl TIOCSCTTY. */
-#define DONT_REOPEN_PTY
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index 04e9a19bdf8..b6bd160cc91 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -33,11 +33,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define BSD_SYSTEM 199506
#endif
-/* Don't close pty in process.c to make it as controlling terminal.
- It is already a controlling terminal of subprocess, because we did
- ioctl TIOCSCTTY. */
-#define DONT_REOPEN_PTY
-
/* Circumvent a bug in FreeBSD. In the following sequence of
writes/reads on a PTY, read(2) returns bogus data:
diff --git a/src/s/netbsd.h b/src/s/netbsd.h
index 80b4442af56..cbcd54f3988 100644
--- a/src/s/netbsd.h
+++ b/src/s/netbsd.h
@@ -26,11 +26,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
that are handled with CPP __RENAME() macro in signal.h. */
#include <signal.h>
-/* Don't close pty in process.c to make it as controlling terminal.
- It is already a controlling terminal of subprocess, because we did
- ioctl TIOCSCTTY. */
-#define DONT_REOPEN_PTY
-
/* Tell that garbage collector that setjmp is known to save all
registers relevant for conservative garbage collection in the jmp_buf. */
#define GC_SETJMP_WORKS 1