History log of /netbsd-src/lib/libc/rpc/svc_simple.c (Results 1 – 25 of 34)
Revision Date Author Comments
# 85f5e301 23-Jan-2024 christos <christos@NetBSD.org>

fix nested extern warnings


# 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


# a742aacd 21-Mar-2006 christos <christos@NetBSD.org>

Coverity CID 2293: Fix memory leak.


# 03256c6e 29-Nov-2005 christos <christos@NetBSD.org>

WARNS=4


# 46af2990 01-Jun-2005 lukem <lukem@NetBSD.org>

appease gcc -Wuninitialized


# 5c945215 09-Sep-2003 itojun <itojun@NetBSD.org>

__RCSID police


# 036ef4f3 05-Apr-2003 christos <christos@NetBSD.org>

cast int to size_t to appease lint (Geoff Wing)


# cf3a405a 05-Apr-2003 christos <christos@NetBSD.org>

PR/21014: Tom Lyon: Failure to clear string by passing the wrong size to memset


# 3fdac2b8 18-Jan-2003 thorpej <thorpej@NetBSD.org>

Merge the nathanw_sa branch.


# 79d5b270 08-Nov-2002 fvdl <fvdl@NetBSD.org>

* Adapt include files for rpc_com.h/rpc_internal.h split.
* Add rpc_control to svc.c
* Implement non-blocking connections.


# 0e8cfd8f 04-Jan-2001 lukem <lukem@NetBSD.org>

sprinkle _DIAGASSERT() appropriately. minor other cleanups


# 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.


# 67fecdba 28-Nov-1999 lukem <lukem@NetBSD.org>

remove unnecessary exit() after err()


# 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 ...


# 94281e53 19-Apr-1999 kleink <kleink@NetBSD.org>

Declare more local items static.


# 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


# 1e6012f9 09-Jul-1998 msaitoh <msaitoh@NetBSD.org>

KNF.


# 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 ...


12