[eclipse-devel] Patch

Christian Lynbech <[email protected]> Tue, 01 Feb 2005 20:57:30 +0100
Newsgroups gmane.comp.window-managers.eclipse
Message-ID <[email protected]>
As far as I can tell the following is needed as I know of no situation
where xlib:open-display will accept a protocol argument of :internet,
at least not with CMUCL 19a.

I am a bit unsure when the problem actually hits. Running eclipse on a
x86 linux box against the local display or a VNC session does not
provoke the error. Running eclipse on a sparc solaris against a VNC
session does provoke the error.

Index: lib/clx-ext/clx-extensions.lisp
===================================================================
RCS file: /project/eclipse/cvsroot/eclipse/lib/clx-ext/clx-extensions.lisp,v
retrieving revision 1.10
diff -u -r1.10 clx-extensions.lisp
--- lib/clx-ext/clx-extensions.lisp	15 Jan 2005 12:27:00 -0000	1.10
+++ lib/clx-ext/clx-extensions.lisp	1 Feb 2005 19:40:27 -0000
@@ -133,7 +133,7 @@
     (if (or (equal host-name "unix") (equal host-name ""))
 	(multiple-value-setq (auth-name auth-data)
 	  (xlib::get-best-authorization (machine-instance) dpy-num protocol))
-	(setf protocol :internet))
+	(setf protocol :tcp))
     (let ((display (xlib:open-display host-name
 		       :display dpy-num
 		       :protocol protocol


------------------------+-----------------------------------------------------
Christian Lynbech       | christian #\@ defun #\. dk
------------------------+-----------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - [email protected] (Michael A. Petonic)

_______________________________________________
eclipse-devel site list
[email protected]
http://common-lisp.net/mailman/listinfo/eclipse-devel