Commit Graph

16 Commits

Author SHA1 Message Date
uebayasi
30399256d4 Enable assertions only when _DIAGNOSTICS is defined, as other libc parts do. 2009-02-12 16:24:59 +00:00
christos
c9cdc30221 - always check malloc results
- don't leak fds on error
- don't cast malloc
- don't cast NULL
2008-04-25 17:44:44 +00:00
drochner
a781fb5f1e fix some unpaired sigblocks which possibly leave the process with all
signals blocked,
this might some problems with the Gnome GUI which uses RPC to communicate
with "fam" (file access monitor), in particular it might fix PR pkg/22483
by jmmv
2006-04-25 18:54:51 +00:00
yamt
347f995cea - constify and remove __UNCONST from caller of clnt_call().
- use __UNCONST where approproate.
2005-12-03 15:16:19 +00:00
christos
68f654dc66 Convert the rest of the code to use pollts for consistency. XXX: We should
really use kqueue.
2005-09-09 15:41:27 +00:00
christos
1466914ff3 add size_t casts. 2004-12-30 05:11:50 +00:00
itojun
8b08fa0d3b use niels provos' random sequence number generator to initialize RPC XID. 2003-09-09 00:22:17 +00:00
thorpej
3fdac2b8c5 Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fvdl
79d5b270d9 * Adapt include files for rpc_com.h/rpc_internal.h split.
* Add rpc_control to svc.c
* Implement non-blocking connections.
2002-11-08 00:13:07 +00:00
lukem
0e8cfd8ffb sprinkle _DIAGASSERT() appropriately. minor other cleanups 2001-01-04 14:42:18 +00:00
christos
128bd71ffc oops fix previous typos. 2000-12-20 23:08:51 +00:00
christos
f9b8c27ae8 appease lint casts 2000-12-20 20:52:50 +00:00
fvdl
7c5c8962ad Use explicit int32 get/put macros. Needed for 64bit big-endian systems. 2000-07-14 08:40:41 +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
thorpej
11e5c6cccf Get <string.h> so this builds on LP64. 2000-06-04 03:55:20 +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