jtc
b18369b1bb
Use memset instead of bzero to clear xports array.
...
To be strictly conforming, we should iterate through the array and set
each pointer to NULL. But memset is faster, and can be inlined by the
compiler. If we ever encounter a machine where a NULL ptr != all bits
zero, we'll have to handle this differently.
1996-05-17 00:32:22 +00:00
pk
8afc84d945
Clear `xports' array after allocation (PR#2424, Arne Juul).
1996-05-16 22:52:21 +00:00
cgd
9e15c98955
save my sanity; stop using Id.
1995-02-25 03:01:33 +00:00
pk
c6df61219c
svc_getreq(): pay attention to registered sockets only. This allows
...
passing a `fd_set' with unrelated bits set.
1995-01-06 13:05:16 +00:00
mycroft
00f8cda6d6
Remove local definitions of svc_maxfd.
1995-01-04 02:58:45 +00:00
cgd
2e2a3a256a
be much more careful with types, and add prototype everything.
1994-12-04 01:12:39 +00:00
deraadt
964007b231
fix my dumb bug
1994-08-23 18:42:10 +00:00
deraadt
da072ba3a5
rpc library no longer uses _rpc_dtablesize() internally -- keeps track
...
of highest active file descriptor. limit fd usage to FD_SETSIZE, until
a better solution is found. remove non-FD_SETSIZE code.
1994-08-20 00:55:26 +00:00
cgd
63d7b6778b
move the rpc code into libc
1993-10-07 07:29:33 +00:00