(create_process): Get a pty for any non-nil Vprocess_connection_type value.
authorRichard M. Stallman <rms@gnu.org>
Mon, 30 May 1994 10:19:16 +0000 (10:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 30 May 1994 10:19:16 +0000 (10:19 +0000)
src/process.c

index 2e5631a..6a65a16 100644 (file)
@@ -1159,7 +1159,7 @@ create_process (process, new_argv, current_dir)
   inchannel = outchannel = -1;
 
 #ifdef HAVE_PTYS
-  if (EQ (Vprocess_connection_type, Qt))
+  if (!NILP (Vprocess_connection_type))
     outchannel = inchannel = allocate_pty ();
 
   if (inchannel >= 0)