(create_process): Set PROCESS's tty_name to Qnil when !PTY_FLAG,
so Fprocess_tty_name returns nil for pipes as its docstring says.
This commit is contained in:
parent
796e46975d
commit
e01186a181
1 changed files with 1 additions and 1 deletions
|
@ -1494,7 +1494,7 @@ create_process (process, new_argv, current_dir)
|
|||
if (forkin != forkout && forkout >= 0)
|
||||
close (forkout);
|
||||
|
||||
XPROCESS (process)->tty_name = build_string (pty_name);
|
||||
XPROCESS (process)->tty_name = pty_flag ? build_string (pty_name) : Qnil;
|
||||
|
||||
#ifdef SIGCHLD
|
||||
#ifdef BSD4_1
|
||||
|
|
Loading…
Add table
Reference in a new issue