aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorPaul Eggert2012-10-19 12:25:18 -0700
committerPaul Eggert2012-10-19 12:25:18 -0700
commitf0a801750151bee7fdcf96dff272986e627fb3e3 (patch)
tree1374d53fe4cd23a04924db66005e7bb0c66ad2c7 /src/term.c
parent8e8083185c417eedbaadf0b33c7089da72fe2250 (diff)
downloademacs-f0a801750151bee7fdcf96dff272986e627fb3e3.tar.gz
emacs-f0a801750151bee7fdcf96dff272986e627fb3e3.zip
Undo faccessat change.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c
index 87ce5447b76..f7c87b7608d 100644
--- a/src/term.c
+++ b/src/term.c
@@ -3023,7 +3023,7 @@ init_tty (const char *name, const char *terminal_type, int must_succeed)
3023 int fd; 3023 int fd;
3024 FILE *file; 3024 FILE *file;
3025 3025
3026#if O_IGNORE_CTTY 3026#ifdef O_IGNORE_CTTY
3027 if (!ctty) 3027 if (!ctty)
3028 /* Open the terminal device. Don't recognize it as our 3028 /* Open the terminal device. Don't recognize it as our
3029 controlling terminal, and don't make it the controlling tty 3029 controlling terminal, and don't make it the controlling tty
@@ -3054,7 +3054,7 @@ init_tty (const char *name, const char *terminal_type, int must_succeed)
3054 name); 3054 name);
3055 } 3055 }
3056 3056
3057#if !O_IGNORE_CTTY 3057#ifndef O_IGNORE_CTTY
3058 if (!ctty) 3058 if (!ctty)
3059 dissociate_if_controlling_tty (fd); 3059 dissociate_if_controlling_tty (fd);
3060#endif 3060#endif