diff src/console-stream.c @ 195:a2f645c6b9f8 r20-3b24

Import from CVS: tag r20-3b24
author cvs
date Mon, 13 Aug 2007 09:59:05 +0200
parents 3d6bfa290dbd
children e45d5e7c476e
line wrap: on
line diff
--- a/src/console-stream.c	Mon Aug 13 09:58:32 2007 +0200
+++ b/src/console-stream.c	Mon Aug 13 09:59:05 2007 +0200
@@ -58,7 +58,7 @@
 
   /* Open the specified console */
 
-  if (NILP (tty) || !NILP (Fequal (tty, Vstdio_str)))
+  if (NILP (tty) || internal_equal (tty, Vstdio_str, 0))
     {
       infd = stdin;
       outfd = stdout;
@@ -134,7 +134,7 @@
 stream_canonicalize_console_connection (Lisp_Object connection,
 					Error_behavior errb)
 {
-  if (NILP (connection) || !NILP (Fequal (connection, Vstdio_str)))
+  if (NILP (connection) || internal_equal (connection, Vstdio_str, 0))
     return Vstdio_str;
 
   if (!ERRB_EQ (errb, ERROR_ME))