diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 344a886be19..989511967ce 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1917,7 +1917,7 @@ create_process (Lisp_Object process, char **new_argv, Lisp_Object current_dir) | |||
| 1917 | { | 1917 | { |
| 1918 | /* I wonder: would just ioctl (0, TIOCNOTTY, 0) work here? | 1918 | /* I wonder: would just ioctl (0, TIOCNOTTY, 0) work here? |
| 1919 | I can't test it since I don't have 4.3. */ | 1919 | I can't test it since I don't have 4.3. */ |
| 1920 | int j = emacs_open ("/dev/tty", O_RDWR, 0); | 1920 | int j = emacs_open (DEV_TTY, O_RDWR, 0); |
| 1921 | if (j >= 0) | 1921 | if (j >= 0) |
| 1922 | { | 1922 | { |
| 1923 | ioctl (j, TIOCNOTTY, 0); | 1923 | ioctl (j, TIOCNOTTY, 0); |