summaryrefslogtreecommitdiff
path: root/lib/libc/rpc/xdr_array.c
AgeCommit message (Collapse)Author
2013-03-11Replace previous Sun Microsystems, Inc. license with a standardtron
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.
2013-03-04fix error messages and warnings.christos
2012-06-25Update old-style definitions to ANSI, remove a couple of registerabs
definitions along the way. Fixed gcc 4.1 build (thank you vax)
2005-08-05espie@openbsd:wiz
impelmentation -> implementation yes, new typo for an old friend.
2003-01-18Merge the nathanw_sa branch.thorpej
2002-08-01correct range check. from openbsditojun
2002-07-30patch from openbsd to fix bounds checking, eliminating an overflow condition.darrenr
2000-01-22Delint.mycroft
Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
1999-01-20* ensure memory is released if operations fail (in authunix_create(),lukem
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
1998-02-13* in get_myaddress(); always return sockaddr_in containing localhost:PMAP_PORT.lukem
(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
1998-02-12revert; we can't break the existing ABI and APIlukem
1998-02-11use u_int32_t instead of size_t...lukem
1998-02-10major cleanup (to sync with changes made in include/rpc/*.h):lukem
* 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()
1997-07-21If port provides __weak_alias(), provide an Standard C and POSIX purejtc
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>.
1997-07-13Fix RCSID'schristos
Fix gcc warnings. Add missing prototypes
1995-04-14Don't pass a third argument (LASTUNSIGNED) to xdrproc_t functions ---jtc
they only take two arguments. Presumably this was done to prevent problems when users passed xdr_string instead of xdr_wrapstring. Function prototypes are a better way to fix this "problem".
1995-04-14Changed bzero to memset.jtc
Changed bcmp to memcmp. Added #include <string.h> to bring prototypes into scope.
1995-02-25save my sanity; stop using Id.cgd
1993-10-07move the rpc code into libccgd