diff options
| author | Chong Yidong | 2011-04-08 14:53:26 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-04-08 14:53:26 -0400 |
| commit | 6b8bc570715801cb194dc4273370eab87628e8bf (patch) | |
| tree | 01e4531fd38069dffbfb0150a2a596ddd8de2bd2 /src/term.c | |
| parent | 3726838a9cca22d420036cd2462398f54318f5d5 (diff) | |
| parent | 0080dc6bd919f83c036bb6072800032b1723b248 (diff) | |
| download | emacs-6b8bc570715801cb194dc4273370eab87628e8bf.tar.gz emacs-6b8bc570715801cb194dc4273370eab87628e8bf.zip | |
Merge changes from emacs-23 branch
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c index 39c9592e28f..9be9950d5eb 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -3155,13 +3155,12 @@ init_tty (const char *name, const char *terminal_type, int must_succeed) | |||
| 3155 | if we don't have one at the moment. */ | 3155 | if we don't have one at the moment. */ |
| 3156 | fd = emacs_open (name, O_RDWR | O_IGNORE_CTTY | O_NOCTTY, 0); | 3156 | fd = emacs_open (name, O_RDWR | O_IGNORE_CTTY | O_NOCTTY, 0); |
| 3157 | else | 3157 | else |
| 3158 | #else | 3158 | #endif /* O_IGNORE_CTTY */ |
| 3159 | /* Alas, O_IGNORE_CTTY is a GNU extension that seems to be only | 3159 | /* Alas, O_IGNORE_CTTY is a GNU extension that seems to be only |
| 3160 | defined on Hurd. On other systems, we need to explicitly | 3160 | defined on Hurd. On other systems, we need to explicitly |
| 3161 | dissociate ourselves from the controlling tty when we want to | 3161 | dissociate ourselves from the controlling tty when we want to |
| 3162 | open a frame on the same terminal. */ | 3162 | open a frame on the same terminal. */ |
| 3163 | fd = emacs_open (name, O_RDWR | O_NOCTTY, 0); | 3163 | fd = emacs_open (name, O_RDWR | O_NOCTTY, 0); |
| 3164 | #endif /* O_IGNORE_CTTY */ | ||
| 3165 | 3164 | ||
| 3166 | tty->name = xstrdup (name); | 3165 | tty->name = xstrdup (name); |
| 3167 | terminal->name = xstrdup (name); | 3166 | terminal->name = xstrdup (name); |