* sunrpc/rpc/xdr.h (struct XDR.xdr_ops.x_inline): 2nd arg
authorRoland McGrath <roland@gnu.org>
Mon, 16 Dec 2002 02:05:55 +0000 (02:05 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 16 Dec 2002 02:05:55 +0000 (02:05 +0000)
commitfd4c894c2391fefd1794aeede627e2c9c8f4dae7
tree88ac319ff92e54fe9063870389e0ae7bc991e71f
parent0274d73c41a807eeb10866f5211d727a5bc51b5c
* sunrpc/rpc/xdr.h (struct XDR.xdr_ops.x_inline): 2nd arg

is now u_int, not int.
(struct XDR.x_handy): Now u_int, not int.
* sunrpc/xdr_mem.c: Include <limits.h>.
(xdrmem_getlong, xdrmem_putlong, xdrmem_getbytes, xdrmem_putbytes,
xdrmem_inline, xdrmem_getint32, xdrmem_putint32):
x_handy is now unsigned, not signed.
Do not decrement x_handy if no change is made.
(xdrmem_setpos): Check for int overflow.
* sunrpc/xdr_sizeof.c (x_inline): 2nd arg is now unsigned.
(xdr_sizeof): Remove cast that is now unnecessary, now that
x_handy is unsigned.
ChangeLog
sunrpc/rpc/xdr.h
sunrpc/xdr_mem.c
sunrpc/xdr_sizeof.c