Commit 8b9fc636 authored by Eli Zaretskii's avatar Eli Zaretskii

(create_pty): Fix last change.

parent 86a0ed4c
2009-08-14 Eli Zaretskii <eliz@gnu.org>
* process.c (create_pty): Fix last change.
2009-08-13 Chong Yidong <cyd@stupidchicken.com>
* image.c (xbm_read_bitmap_data): New arg inhibit_image_error.
......
......@@ -2355,7 +2355,12 @@ create_pty (process)
max_process_desc = inchannel;
XPROCESS (process)->pid = -2;
XPROCESS (process)->tty_name = build_string (pty_name);
#ifdef HAVE_PTYS
if (pty_flag)
XPROCESS (process)->tty_name = build_string (pty_name);
else
#endif
XPROCESS (process)->tty_name = Qnil;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment