On Mon, 15 Oct 2012 18:10:26 -0600 (MDT), Jon Trulson wrote:
> On Mon, 15 Oct 2012, Pascal Stumpf wrote:
>
> > Something has seriously broken ttsession on OpenBSD (and anything using
> > it). Either segfaulting and leaving zombie processes or immediately
> > locking up on startup. I probably won't have time to look into it until
> > next weekend, but if anyone has an idea or wants to help debugging ...
> >
>
> There have been a few changes there - cd into lib/tt and do a:
>
> git log -p .
>
> To see relevant commits. Not sure what specifically might have been
> broken on CDE for OpenBSD...
I *think* this was it.
> --
> Jon Trulson
>
> The Higgs Field is what make atoms matter.
> -- Tom L.
>
>
>
>From 005112a7deac32b9a3979c775b3ca4b6ca3222ea Mon Sep 17 00:00:00 2001
From: Pascal Stumpf <pascal.stu...@cubes.de>
Date: Sun, 18 Nov 2012 16:23:17 +0100
Subject: [PATCH] The svcfd_create() call is still needed at least on OpenBSD.
---
cde/lib/tt/slib/mp_rpc_server.C | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cde/lib/tt/slib/mp_rpc_server.C b/cde/lib/tt/slib/mp_rpc_server.C
index 881d705..ec004b4 100644
--- a/cde/lib/tt/slib/mp_rpc_server.C
+++ b/cde/lib/tt/slib/mp_rpc_server.C
@@ -120,7 +120,7 @@ init(void (*service_fn)(struct svc_req *, SVCXPRT *))
unsigned int buffersize = (bufopt != (char *)0) ? atoi(bufopt) : 32000;
if (_socket != RPC_ANYSOCK) {
-#ifdef OPT_UNIX_SOCKET_RPC
+#if defined(OPT_UNIX_SOCKET_RPC) || defined(__OpenBSD__)
_transp = svcfd_create(_socket, buffersize, buffersize);
if (_transp == (SVCXPRT *)0) {
return(0);
--
1.7.6
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel