From xemacs-m  Fri Dec 13 23:53:03 1996
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19]) by xemacs.cs.uiuc.edu (8.8.3/8.8.3) with ESMTP id XAA10945 for <xemacs-beta@xemacs.org>; Fri, 13 Dec 1996 23:53:01 -0600 (CST)
Received: (from steve@localhost)
          by altair.xemacs.org (8.8.4/8.8.4)
	  id WAA04788; Fri, 13 Dec 1996 22:03:05 -0800
Sender: steve@xemacs.org
To: xemacs-beta@xemacs.org
Subject: Re: make-frame-on-display crashing bug 19.15-b3 & 19.14
References: <rvbuc1y2dx.fsf@sdnp5.ucsd.edu>
X-Url: http://www.miranova.com/%7Esteve/
Mail-Copies-To: never
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: David Moore's message of 10 Dec 1996 23:19:06 -0800
Mime-Version: 1.0 (generated by tm-edit 7.95)
Content-Type: text/plain; charset=US-ASCII
Date: 13 Dec 1996 22:03:04 -0800
Message-ID: <m2bubxk6hz.fsf@altair.xemacs.org>
Lines: 41
X-Mailer: Red Gnus v0.72/XEmacs 20.0

> I can reliably crash under solaris 2.* when starting xemacs with -nw
> and executing 'make-frame-on-display' to a nonexistant host.  The
> next call to make-frame-on-display with a valid host results in the
> following core.

This bug is in 19.15 and 20.0.  Fix in the next betas.

Fri Dec 13 16:43:45 1996  Steven L Baur  <steve@altair.xemacs.org>

	* device-x.c (x_init_device): Don't make nonexistent X server the
	default when running on a tty.


--- xemacs-20.0-b31/src/device-x.c	Sun Oct 20 06:25:19 1996
+++ xemacs-20.0-b32/src/device-x.c	Fri Dec 13 20:49:07 1996
@@ -224,9 +224,6 @@
 
   allocate_x_device_struct (d);
 
-  if (NILP (Vdefault_x_device))
-    Vdefault_x_device = device;
-
   make_argc_argv (Vx_initial_argv_list, &argc, &argv);
 
   if (STRINGP (Vx_emacs_application_class) &&
@@ -249,6 +246,9 @@
       suppress_early_backtrace = 1;
       signal_simple_error ("X server not responding\n", display);
     }
+
+  if (NILP (Vdefault_x_device))
+    Vdefault_x_device = device;
 
 #ifdef MULE
   {

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.
"That Bill Clinton.  He probably doesn't know how to log on to the
Internet."  -- Rush Limbaugh, noted Computer Expert

