lukem
4da6558c5a
Close socket correctly in three places.
...
Fixes various problems such as inetd not reloading correctly.
Fix provided by Michael van Elst in [lib/14454] - thanks!
Should also fix [bin/12651] and [bin/13657]
2001-11-04 14:43:55 +00:00
jdolecek
7462273dbc
Fix !INET6 build. Noted by Bruno Clermont on tech-userlevel@
2001-09-27 18:59:37 +00:00
lukem
0e8cfd8ffb
sprinkle _DIAGASSERT() appropriately. minor other cleanups
2001-01-04 14:42:18 +00:00
christos
663f790f35
remove redundant declarations.
2000-12-20 20:51:08 +00:00
itojun
52f552d80a
correct delint mistake (missing "&").
...
may fix recent rpc/nfs-related PRs, including 10579 and 10601.
2000-07-16 06:41:43 +00:00
fvdl
4063df8381
Use rpcvers_t, not long, for some variables holding version numbers. They
...
were sometimes passed by reference, creating problems on 64bit be systems.
2000-07-14 10:29:16 +00:00
christos
deb154d2bc
add __RPC_GETXID macro
...
don't const castway __rpc_getconf and __rpc_getconfig. It might try to
write const strings
fix non-portable casts
remove duplicated prototypes
cast things to proper types
remove extraneous casts to NULL
fix variable cast mismatches
remove register var declarations
2000-07-06 03:10:34 +00:00
assar
598be7b0b7
syslog an error if /etc/netconfig is not found. fixes lib/10275
2000-06-11 16:26:53 +00:00
fvdl
eaee8c445a
Set the error code sanely in a few cases.
...
When connecting to a version 2 portmapper, don't use the "udp" nettype,
since that includes udp on ipv6, but just use the "udp" netconfig entry
directly.
2000-06-07 21:46:01 +00:00
fvdl
7df0ccbadc
Add new RPC code, based on Sun's TI-RPC code. Adapted to not use XTI,
...
but sockets instead, internally. Old, backward compatible interfaces
maintained.
2000-06-02 23:11:05 +00:00