Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0080dc6b
Commit
0080dc6b
authored
Apr 08, 2011
by
Svante Signell
Committed by
Chong Yidong
Apr 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* term.c (init_tty): Fix incorrect ifdef placement (Bug#8450).
parent
7afdcb45
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
src/ChangeLog
src/ChangeLog
+4
-0
src/term.c
src/term.c
+1
-2
No files found.
src/ChangeLog
View file @
0080dc6b
2011-04-08 Svante Signell <svante.signell@telia.com> (tiny change)
* term.c (init_tty): Fix incorrect ifdef placement (Bug#8450).
2011-03-19 Christoph Scholtes <cschol2112@googlemail.com>
* process.c (Fformat_network_address): Doc fix.
...
...
src/term.c
View file @
0080dc6b
...
...
@@ -3413,13 +3413,12 @@ init_tty (char *name, char *terminal_type, int must_succeed)
if we don't have one at the moment. */
fd = emacs_open (name, O_RDWR | O_IGNORE_CTTY | O_NOCTTY, 0);
else
#e
lse
#e
ndif /* O_IGNORE_CTTY */
/* Alas, O_IGNORE_CTTY is a GNU extension that seems to be only
defined on Hurd. On other systems, we need to explicitly
dissociate ourselves from the controlling tty when we want to
open a frame on the same terminal. */
fd = emacs_open (name, O_RDWR | O_NOCTTY, 0);
#endif
/* O_IGNORE_CTTY */
tty->name = xstrdup (name);
terminal->name = xstrdup (name);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment