#
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 ...
|
#
adb74221 |
| 20-Mar-2012 |
matt <matt@NetBSD.org> |
Use C89 definitions Remove use of __P
|
#
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 ...
|
#
60549036 |
| 22-Jan-2000 |
mycroft <mycroft@NetBSD.org> |
Delint. Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
|
#
d8962612 |
| 20-Sep-1999 |
lukem <lukem@NetBSD.org> |
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained. _DIAGASSERT() is still retained.
|
#
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 ...
|
#
15896e79 |
| 25-Mar-1999 |
lukem <lukem@NetBSD.org> |
* don't close the socket unless it was opened by the function * note (in the comments) that the client is responsible for closing the socket if they opened it, or they didn't use CLNT_DESTROY()
fi
* don't close the socket unless it was opened by the function * note (in the comments) that the client is responsible for closing the socket if they opened it, or they didn't use CLNT_DESTROY()
fixes a couple of unnecessary closing of already-closed sockets. noted by: Matthias Drochner <M.Drochner@fz-juelich.de>
show more ...
|
#
caaf1528 |
| 31-Jan-1999 |
christos <christos@NetBSD.org> |
xdrproc_t casts.
|
#
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 ...
|
#
1325a26d |
| 15-Nov-1998 |
christos <christos@NetBSD.org> |
delint
|
#
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
|
#
a31739bc |
| 10-Feb-1998 |
lukem <lukem@NetBSD.org> |
major cleanup (to sync with changes made in include/rpc/*.h): * use int32_t, size_t, in_port_t instead of long, u_int, u_short as appropriate * use uid_t and gid_t instead of int * KNF, fix typos and
major cleanup (to sync with changes made in include/rpc/*.h): * use int32_t, size_t, in_port_t instead of long, u_int, u_short as appropriate * use uid_t and gid_t instead of int * KNF, fix typos and spellos * use const as appropriate * deprecate register * use memmove instead of bcopy * use err/warn()
show more ...
|
#
43fa6fe3 |
| 21-Jul-1997 |
jtc <jtc@NetBSD.org> |
If port provides __weak_alias(), provide an Standard C and POSIX pure identifier namespace by renaming non standard functions and variables such that they have a leading underscore. The library will
If port provides __weak_alias(), provide an Standard C and POSIX pure identifier namespace by renaming non standard functions and variables such that they have a leading underscore. The library will use those names internally. Weak aliases are used to provide the original names to the API.
This is only the first part of this change. It is most of the functions which are implemented in C for all NetBSD ports. Subsequent changes are to add the same support to the remaining C files, to assembly files, and to the automagically generated assembly source used for system calls. When all of the above is done, ports with weak alias support should add a definition for __weak_alias to <sys/cdefs.h>.
show more ...
|
#
c63c52b2 |
| 13-Jul-1997 |
christos <christos@NetBSD.org> |
Fix RCSID's Fix gcc warnings. Add missing prototypes
|
#
9e15c989 |
| 25-Feb-1995 |
cgd <cgd@NetBSD.org> |
save my sanity; stop using Id.
|
#
2e2a3a25 |
| 04-Dec-1994 |
cgd <cgd@NetBSD.org> |
be much more careful with types, and add prototype everything.
|
#
63d7b677 |
| 07-Oct-1993 |
cgd <cgd@NetBSD.org> |
move the rpc code into libc
|