projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c64ac19
)
Revert "Older Linux installations do not have svcfd_create()."
author
Jon Trulson
<jon@radscan.com>
Sun, 25 Nov 2012 02:16:58 +0000
(19:16 -0700)
committer
Jon Trulson
<jon@radscan.com>
Sun, 25 Nov 2012 02:16:58 +0000
(19:16 -0700)
This reverts commit
44e384aedb3b8aabbd3c556af28848fc58c09c60
.
This code is actually needed. If svcfd_create() is not available, it
should be fixed only for those systems that it affects.
cde/lib/tt/slib/mp_rpc_server.C
patch
|
blob
|
history
diff --git
a/cde/lib/tt/slib/mp_rpc_server.C
b/cde/lib/tt/slib/mp_rpc_server.C
index 881d7050e720621816f50ae904ebd979ee48a0af..1ed95468c9600718eaf451d91672bd0389024ee3 100644
(file)
--- a/
cde/lib/tt/slib/mp_rpc_server.C
+++ b/
cde/lib/tt/slib/mp_rpc_server.C
@@
-120,7
+120,6
@@
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
_transp = svcfd_create(_socket, buffersize, buffersize);
if (_transp == (SVCXPRT *)0) {
return(0);
@@
-131,7
+130,6
@@
init(void (*service_fn)(struct svc_req *, SVCXPRT *))
_tt_syslog(0, LOG_ERR, "svc_register(): %m");
return(0);
}
-#endif
return(1);
}