From a3f98f6fc2b76b39272250be3badabcf65fc23f1 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 29 Sep 2002 15:12:48 +0000 Subject: 2002-09-29 Marcus Brinkmann * loop.c (server_loop): Use memset instead bzero. (server_loop): Add parenthesis for post-decrement (even though it is only used as an lvalue here). Increment P after using it in the macro, not within. * ops.c (complete_setattr): Likewise. (op_setattr, op_read, op_write, op_create, op_symlink, op_mkdir, op_readdir, op_getport): Likewise. * xdr.c (encode_fattr): Likewise. (encode_data): Likewise. Also use memcpy instead bcopy. (encode_statfs): Likewise. (decode_name): Likewise. Also use memcpy instead bcopy. (encode_fhandle): Use memcpy instead bcopy. * cache.c (process_cred): Add parenthesis for post-decrement (even though it is only used as an lvalue here). Increment P after using it in the macro, not within. (idspec_lookup): Use memcpy, not bcopy. (lookup_cache_handle): Likewise. (create_cached_handle): Likewise. (check_cached_replies): Likewise. --- nfsd/ChangeLog | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'nfsd/ChangeLog') diff --git a/nfsd/ChangeLog b/nfsd/ChangeLog index 1a78f994..7d89361b 100644 --- a/nfsd/ChangeLog +++ b/nfsd/ChangeLog @@ -1,3 +1,25 @@ +2002-09-29 Marcus Brinkmann + + * loop.c (server_loop): Use memset instead bzero. + (server_loop): Add parenthesis for post-decrement (even + though it is only used as an lvalue here). Increment P after + using it in the macro, not within. + * ops.c (complete_setattr): Likewise. + (op_setattr, op_read, op_write, op_create, op_symlink, op_mkdir, + op_readdir, op_getport): Likewise. + * xdr.c (encode_fattr): Likewise. + (encode_data): Likewise. Also use memcpy instead bcopy. + (encode_statfs): Likewise. + (decode_name): Likewise. Also use memcpy instead bcopy. + (encode_fhandle): Use memcpy instead bcopy. + * cache.c (process_cred): Add parenthesis for post-decrement (even + though it is only used as an lvalue here). Increment P after + using it in the macro, not within. + (idspec_lookup): Use memcpy, not bcopy. + (lookup_cache_handle): Likewise. + (create_cached_handle): Likewise. + (check_cached_replies): Likewise. + 2002-05-29 Roland McGrath * nfsd.h (struct proctable): [0] -> [], for newfangled GCC. -- cgit v1.2.3