projects
/
shibboleth
/
sp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-port RPC library to Solaris
[shibboleth/sp.git]
/
oncrpc
/
clnt_tcp.c
diff --git
a/oncrpc/clnt_tcp.c
b/oncrpc/clnt_tcp.c
index
e298608
..
125851c
100644
(file)
--- a/
oncrpc/clnt_tcp.c
+++ b/
oncrpc/clnt_tcp.c
@@
-65,7
+65,7
@@
static char sccsid[] = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";
#include <rpc/rpc.h>
#ifdef WIN32
#include <errno.h>
#include <rpc/rpc.h>
#ifdef WIN32
#include <errno.h>
-#include <rpc/pmap_cln.h>
+#include <rpc/pmap_cln
t
.h>
#else
#include <sys/socket.h>
#include <netdb.h>
#else
#include <sys/socket.h>
#include <netdb.h>
@@
-504,7
+504,7
@@
readtcp(ct, buf, len)
}
return (len);
#else
}
return (len);
#else
- switch (select(_rpc_dtablesize(), &readfds,
(int*)NULL, (int*)
NULL,
+ switch (select(_rpc_dtablesize(), &readfds,
NULL,
NULL,
&(ct->ct_wait))) {
case 0:
ct->ct_error.re_status = RPC_TIMEDOUT;
&(ct->ct_wait))) {
case 0:
ct->ct_error.re_status = RPC_TIMEDOUT;