#
85f5e301 |
| 23-Jan-2024 |
christos <christos@NetBSD.org> |
fix nested extern warnings
|
#
46615f7e |
| 06-Nov-2015 |
christos <christos@NetBSD.org> |
- Use -1 for the fake raw fd since we will be able to go beyond FD_SETSIZE. - Poster boy for why it is bad to initialize in declarations :-)
|
#
47c0e0c3 |
| 11-Mar-2013 |
tron <tron@NetBSD.org> |
Replace previous Sun Microsystems, Inc. license with a standard BSD 3-clause license granted by Oracle America, Inc.. This license change was approved by Wim Coekaerts, Senior Vice President, Linux a
Replace previous Sun Microsystems, Inc. license with a standard BSD 3-clause license granted by Oracle America, Inc.. This license change was approved by Wim Coekaerts, Senior Vice President, Linux and Virtualization at Oracle Corporation.
This fixes PR lib/45293 by Pedro Giffuni.
show more ...
|
#
e24729de |
| 04-Mar-2013 |
christos <christos@NetBSD.org> |
fix error messages and warnings.
|
#
adb74221 |
| 20-Mar-2012 |
matt <matt@NetBSD.org> |
Use C89 definitions Remove use of __P
|
#
c9cdc302 |
| 25-Apr-2008 |
christos <christos@NetBSD.org> |
- always check malloc results - don't leak fds on error - don't cast malloc - don't cast NULL
|
#
347f995c |
| 03-Dec-2005 |
yamt <yamt@NetBSD.org> |
- constify and remove __UNCONST from caller of clnt_call(). - use __UNCONST where approproate.
|
#
ed1153a3 |
| 30-Jul-2005 |
wiz <wiz@NetBSD.org> |
Fix typo reported in PR 30872.
|
#
2d02304d |
| 09-Jun-2005 |
yamt <yamt@NetBSD.org> |
use malloc rather than mem_alloc (which is implemented using calloc) for receive/send buffers to avoid unnecessarily anonymous memory bloat.
|
#
bd66ab4a |
| 30-Dec-2004 |
christos <christos@NetBSD.org> |
cast to size_t remove unneeded casts.
|
#
3fdac2b8 |
| 18-Jan-2003 |
thorpej <thorpej@NetBSD.org> |
Merge the nathanw_sa branch.
|
#
50f5afd5 |
| 04-Nov-2001 |
lukem <lukem@NetBSD.org> |
fix WARNS=2 (-Wshadow) warnings
|
#
128bd71f |
| 20-Dec-2000 |
christos <christos@NetBSD.org> |
oops fix previous typos.
|
#
f9b8c27a |
| 20-Dec-2000 |
christos <christos@NetBSD.org> |
appease lint casts
|
#
c2285c08 |
| 10-Dec-2000 |
christos <christos@NetBSD.org> |
remove dedundant declaration of _svc_getreq_common; declared in <rpc/svc.h>
|
#
7c5c8962 |
| 14-Jul-2000 |
fvdl <fvdl@NetBSD.org> |
Use explicit int32 get/put macros. Needed for 64bit big-endian systems.
|
#
deb154d2 |
| 06-Jul-2000 |
christos <christos@NetBSD.org> |
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 remov
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
show more ...
|
#
7df0ccba |
| 02-Jun-2000 |
fvdl <fvdl@NetBSD.org> |
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.
|
#
60549036 |
| 22-Jan-2000 |
mycroft <mycroft@NetBSD.org> |
Delint. Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
|
#
b48252f3 |
| 16-Sep-1999 |
lukem <lukem@NetBSD.org> |
* use _DIAGASSERT() to check pointer arguments against NULL and file descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attemp
* use _DIAGASSERT() to check pointer arguments against NULL and file descriptors against -1 (as appropriate). * add actual checks which to detect stuff that would trigger_DIAGASSERT(), and attempt to return a sane error condition. * knf some code * remove some `register' decls.
the first two items result in the addition of code similar to the following in various functions:
_DIAGASSERT(path != NULL) #ifdef _DIAGNOSTIC if (path == NULL) { errno = EFAULT; return (-1); } #endif
show more ...
|
#
6c13a3b8 |
| 20-Jan-1999 |
lukem <lukem@NetBSD.org> |
* ensure memory is released if operations fail (in authunix_create(), xdr_callmsg(), xprt_register(), svc_tcp(), svc_udp(), etc) * don't attempt to close a socket filedescriptor if it's -1 (some fr
* ensure memory is released if operations fail (in authunix_create(), xdr_callmsg(), xprt_register(), svc_tcp(), svc_udp(), etc) * don't attempt to close a socket filedescriptor if it's -1 (some from freebsd, some i found) * make the initial xid a little more random (from freebsd) * fix some spelos and tyops in comments (some from freebsd) * use warn() instead of warnx() for many errors; the user probably wants to know what the error code was. * knf & whitespace nitpicks
show more ...
|
#
6f2f908d |
| 15-Nov-1998 |
christos <christos@NetBSD.org> |
avoid potential buffer overflow and alignment problem that was caused by casting a char[24] array to struct rpc_msg (sizeof(struct rpc_msg) == 48) on i386. Use a union instead.
|
#
053e2411 |
| 26-Jul-1998 |
mycroft <mycroft@NetBSD.org> |
constify some tables.
|
#
46e6c5e8 |
| 13-Feb-1998 |
lukem <lukem@NetBSD.org> |
* in get_myaddress(); always return sockaddr_in containing localhost:PMAP_PORT. (as recommended in Weiste Venema's portmap5_beta distribution) * deprecate register * use memmove instead of bcopy *
* in get_myaddress(); always return sockaddr_in containing localhost:PMAP_PORT. (as recommended in Weiste Venema's portmap5_beta distribution) * deprecate register * use memmove instead of bcopy * KNF includes * use err/warn() instead of perror/fprintf(stderr,) * fix some typos
show more ...
|
#
ce147c1c |
| 12-Feb-1998 |
lukem <lukem@NetBSD.org> |
revert; we can't break the existing ABI and API
|