diff options
author | Roland McGrath <roland@gnu.org> | 2002-12-16 02:05:55 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-12-16 02:05:55 +0000 |
commit | fd4c894c2391fefd1794aeede627e2c9c8f4dae7 (patch) | |
tree | 88ac319ff92e54fe9063870389e0ae7bc991e71f /sunrpc/rpc_parse.c | |
parent | 0274d73c41a807eeb10866f5211d727a5bc51b5c (diff) | |
download | glibc-fd4c894c2391fefd1794aeede627e2c9c8f4dae7.zip glibc-fd4c894c2391fefd1794aeede627e2c9c8f4dae7.tar.gz glibc-fd4c894c2391fefd1794aeede627e2c9c8f4dae7.tar.bz2 |
* 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.
Diffstat (limited to 'sunrpc/rpc_parse.c')
0 files changed, 0 insertions, 0 deletions