From xemacs-m  Tue Mar 11 15:22:13 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id PAA17777
	for <xemacs-beta@xemacs.org>; Tue, 11 Mar 1997 15:22:11 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id NAA09592;
	Tue, 11 Mar 1997 13:34:16 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: b98 solution to failure
References: <199703112111.QAA02546@verve.canada.sun.com>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Georg Nikodym's message of Tue, 11 Mar 1997 16:11:57 -0500
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Date: 11 Mar 1997 13:34:14 -0800
Message-ID: <m2afoam7u1.fsf@altair.xemacs.org>
Lines: 59
X-Mailer: Gnus v5.4.25/XEmacs 20.1

Georg Nikodym writes:

> Either I missed a patch somewhere

Yup, it was first posted a couple of hours after the release.

Index: src/console.c
===================================================================
RCS file: /usr/local/xemacs/xemacs-19.15/src/console.c,v
retrieving revision 1.4
diff -u -r1.4 console.c
--- console.c	1997/03/09 02:38:33	1.4
+++ console.c	1997/03/09 05:44:59
@@ -903,6 +903,9 @@
 # endif
 #endif /* BSD */
 }
+#ifdef HAVE_TTY
+extern Lisp_Object Fconsole_tty_controlling_process(Lisp_Object console);
+#endif
 
 DEFUN ("suspend-console", Fsuspend_console, 0, 1, "", /*
 Suspend a console.  For tty consoles, it sends a signal to suspend
@@ -922,6 +925,7 @@
   struct console *c;
   struct gcpro gcpro1;
 
+#ifdef HAVE_TTY
   if (NILP (console))
       console=Fselected_console();
 
@@ -944,6 +948,7 @@
   }
 
   UNGCPRO;
+#endif
   return Qnil;
 }
 
@@ -958,6 +963,7 @@
   struct console *c;
   struct gcpro gcpro1, gcpro2, gcpro3;
 
+#ifdef HAVE_TTY
   GCPRO2 (console, devcons);
 
   c = decode_console(console);
@@ -976,6 +982,7 @@
   }
 
   UNGCPRO;
+#endif
   return Qnil;
 }
 

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

