diff options
Diffstat (limited to 'lib/libc')
44 files changed, 96 insertions, 52 deletions
diff --git a/lib/libc/rpc/DISCLAIMER b/lib/libc/rpc/DISCLAIMER index 1a66d5f4c9c..e7ff7f5663d 100644 --- a/lib/libc/rpc/DISCLAIMER +++ b/lib/libc/rpc/DISCLAIMER @@ -1,3 +1,5 @@ +/* $OpenBSD: DISCLAIMER,v 1.2 1996/07/20 06:12:14 deraadt Exp $ */ + /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for * unrestricted use provided that this legend is included on all tape diff --git a/lib/libc/rpc/Makefile.inc b/lib/libc/rpc/Makefile.inc index b65835ffa9f..0d586601dda 100644 --- a/lib/libc/rpc/Makefile.inc +++ b/lib/libc/rpc/Makefile.inc @@ -1,3 +1,4 @@ +# $OpenBSD: Makefile.inc,v 1.2 1996/07/20 06:12:15 deraadt Exp $ # $NetBSD: Makefile.inc,v 1.8 1995/02/25 03:01:33 cgd Exp $ # librpc sources diff --git a/lib/libc/rpc/auth_none.c b/lib/libc/rpc/auth_none.c index 17dde6eaa11..d0dfa4022d9 100644 --- a/lib/libc/rpc/auth_none.c +++ b/lib/libc/rpc/auth_none.c @@ -1,3 +1,4 @@ +/* $OpenBSD: auth_none.c,v 1.2 1996/07/20 06:12:16 deraadt Exp $ */ /* $NetBSD: auth_none.c,v 1.3 1995/02/25 03:01:34 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)auth_none.c 1.19 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)auth_none.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: auth_none.c,v 1.3 1995/02/25 03:01:34 cgd Exp $"; +static char *rcsid = "$OpenBSD: auth_none.c,v 1.2 1996/07/20 06:12:16 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/auth_unix.c b/lib/libc/rpc/auth_unix.c index 263635e5569..996c21d6a49 100644 --- a/lib/libc/rpc/auth_unix.c +++ b/lib/libc/rpc/auth_unix.c @@ -1,3 +1,4 @@ +/* $OpenBSD: auth_unix.c,v 1.3 1996/07/20 06:12:17 deraadt Exp $ */ /* $NetBSD: auth_unix.c,v 1.2 1995/02/25 03:01:35 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)auth_unix.c 1.19 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)auth_unix.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: auth_unix.c,v 1.2 1995/02/25 03:01:35 cgd Exp $"; +static char *rcsid = "$OpenBSD: auth_unix.c,v 1.3 1996/07/20 06:12:17 deraadt Exp $"; #endif /* @@ -156,7 +157,7 @@ authunix_create(machname, uid, gid, len, aup_gids) return (NULL); } #endif - bcopy(mymem, au->au_origcred.oa_base, (u_int)len); + memcpy(au->au_origcred.oa_base, mymem, (u_int)len); /* * set auth handle to reflect new cred. diff --git a/lib/libc/rpc/authunix_prot.c b/lib/libc/rpc/authunix_prot.c index e6f81471486..8788eb18cf8 100644 --- a/lib/libc/rpc/authunix_prot.c +++ b/lib/libc/rpc/authunix_prot.c @@ -1,3 +1,4 @@ +/* $OpenBSD: authunix_prot.c,v 1.2 1996/07/20 06:12:18 deraadt Exp $ */ /* $NetBSD: authunix_prot.c,v 1.2 1995/02/25 03:01:36 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)authunix_prot.c 1.15 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)authunix_prot.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: authunix_prot.c,v 1.2 1995/02/25 03:01:36 cgd Exp $"; +static char *rcsid = "$OpenBSD: authunix_prot.c,v 1.2 1996/07/20 06:12:18 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/bindresvport.3 b/lib/libc/rpc/bindresvport.3 index a6d3fb34eeb..1487d3ec4de 100644 --- a/lib/libc/rpc/bindresvport.3 +++ b/lib/libc/rpc/bindresvport.3 @@ -1,4 +1,5 @@ .\" @(#)bindresvport.3n 2.2 88/08/02 4.0 RPCSRC; from 1.7 88/03/14 SMI +.\" $OpenBSD: bindresvport.3,v 1.2 1996/07/20 06:12:19 deraadt Exp $ .\" $NetBSD: bindresvport.3,v 1.2 1995/02/25 03:01:37 cgd Exp $ .\" .Dd November 22, 1987 diff --git a/lib/libc/rpc/bindresvport.c b/lib/libc/rpc/bindresvport.c index 419fccd1bf4..3ff11b7d09a 100644 --- a/lib/libc/rpc/bindresvport.c +++ b/lib/libc/rpc/bindresvport.c @@ -1,3 +1,4 @@ +/* $OpenBSD: bindresvport.c,v 1.2 1996/07/20 06:12:20 deraadt Exp $ */ /* $NetBSD: bindresvport.c,v 1.5 1995/06/03 22:37:19 mycroft Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)bindresvport.c 1.8 88/02/08 SMI";*/ /*static char *sccsid = "from: @(#)bindresvport.c 2.2 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: bindresvport.c,v 1.5 1995/06/03 22:37:19 mycroft Exp $"; +static char *rcsid = "$OpenBSD: bindresvport.c,v 1.2 1996/07/20 06:12:20 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/clnt_generic.c b/lib/libc/rpc/clnt_generic.c index 44ac7b1229e..a01cd484cd2 100644 --- a/lib/libc/rpc/clnt_generic.c +++ b/lib/libc/rpc/clnt_generic.c @@ -1,3 +1,4 @@ +/* $OpenBSD: clnt_generic.c,v 1.2 1996/07/20 06:12:21 deraadt Exp $ */ /* $NetBSD: clnt_generic.c,v 1.6 1995/06/03 22:37:21 mycroft Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)clnt_generic.c 1.4 87/08/11 (C) 1987 SMI";*/ /*static char *sccsid = "from: @(#)clnt_generic.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: clnt_generic.c,v 1.6 1995/06/03 22:37:21 mycroft Exp $"; +static char *rcsid = "$OpenBSD: clnt_generic.c,v 1.2 1996/07/20 06:12:21 deraadt Exp $"; #endif /* @@ -80,7 +81,7 @@ clnt_create(hostname, prog, vers, proto) sin.sin_len = sizeof(struct sockaddr_in); sin.sin_family = h->h_addrtype; sin.sin_port = 0; - bcopy(h->h_addr, (char*)&sin.sin_addr, h->h_length); + memcpy((char*)&sin.sin_addr, h->h_addr, h->h_length); p = getprotobyname(proto); if (p == NULL) { rpc_createerr.cf_stat = RPC_UNKNOWNPROTO; diff --git a/lib/libc/rpc/clnt_perror.c b/lib/libc/rpc/clnt_perror.c index d63d7b14e4c..760fc08452a 100644 --- a/lib/libc/rpc/clnt_perror.c +++ b/lib/libc/rpc/clnt_perror.c @@ -1,3 +1,4 @@ +/* $OpenBSD: clnt_perror.c,v 1.2 1996/07/20 06:12:22 deraadt Exp $ */ /* $NetBSD: clnt_perror.c,v 1.7 1995/04/24 16:34:39 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)clnt_perror.c 1.15 87/10/07 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)clnt_perror.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: clnt_perror.c,v 1.7 1995/04/24 16:34:39 cgd Exp $"; +static char *rcsid = "$OpenBSD: clnt_perror.c,v 1.2 1996/07/20 06:12:22 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/clnt_raw.c b/lib/libc/rpc/clnt_raw.c index 3830e54cf5a..4d9ce4c0fb9 100644 --- a/lib/libc/rpc/clnt_raw.c +++ b/lib/libc/rpc/clnt_raw.c @@ -1,3 +1,4 @@ +/* $OpenBSD: clnt_raw.c,v 1.2 1996/07/20 06:12:23 deraadt Exp $ */ /* $NetBSD: clnt_raw.c,v 1.3 1995/02/25 03:01:40 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)clnt_raw.c 1.22 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)clnt_raw.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: clnt_raw.c,v 1.3 1995/02/25 03:01:40 cgd Exp $"; +static char *rcsid = "$OpenBSD: clnt_raw.c,v 1.2 1996/07/20 06:12:23 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/clnt_simple.c b/lib/libc/rpc/clnt_simple.c index 262df615229..1405406e7d7 100644 --- a/lib/libc/rpc/clnt_simple.c +++ b/lib/libc/rpc/clnt_simple.c @@ -1,3 +1,4 @@ +/* $OpenBSD: clnt_simple.c,v 1.2 1996/07/20 06:12:23 deraadt Exp $ */ /* $NetBSD: clnt_simple.c,v 1.5 1995/06/03 22:37:23 mycroft Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)clnt_simple.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: clnt_simple.c,v 1.5 1995/06/03 22:37:23 mycroft Exp $"; +static char *rcsid = "$OpenBSD: clnt_simple.c,v 1.2 1996/07/20 06:12:23 deraadt Exp $"; #endif /* @@ -94,7 +95,7 @@ callrpc(host, prognum, versnum, procnum, inproc, in, outproc, out) timeout.tv_usec = 0; timeout.tv_sec = 5; memset(&server_addr, 0, sizeof(server_addr)); - bcopy(hp->h_addr, (char *)&server_addr.sin_addr, hp->h_length); + memcpy((char *)&server_addr.sin_addr, hp->h_addr, hp->h_length); server_addr.sin_len = sizeof(struct sockaddr_in); server_addr.sin_family = AF_INET; server_addr.sin_port = 0; diff --git a/lib/libc/rpc/clnt_tcp.c b/lib/libc/rpc/clnt_tcp.c index 7919181e53d..1f9279fb0ad 100644 --- a/lib/libc/rpc/clnt_tcp.c +++ b/lib/libc/rpc/clnt_tcp.c @@ -1,3 +1,4 @@ +/* $OpenBSD: clnt_tcp.c,v 1.4 1996/07/20 06:12:24 deraadt Exp $ */ /* $NetBSD: clnt_tcp.c,v 1.4 1995/02/25 03:01:41 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)clnt_tcp.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: clnt_tcp.c,v 1.4 1995/02/25 03:01:41 cgd Exp $"; +static char *rcsid = "$OpenBSD: clnt_tcp.c,v 1.4 1996/07/20 06:12:24 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/clnt_udp.c b/lib/libc/rpc/clnt_udp.c index 309162f8082..d7fea262431 100644 --- a/lib/libc/rpc/clnt_udp.c +++ b/lib/libc/rpc/clnt_udp.c @@ -1,3 +1,4 @@ +/* $OpenBSD: clnt_udp.c,v 1.4 1996/07/20 06:12:25 deraadt Exp $ */ /* $NetBSD: clnt_udp.c,v 1.4 1995/02/25 03:01:42 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)clnt_udp.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: clnt_udp.c,v 1.4 1995/02/25 03:01:42 cgd Exp $"; +static char *rcsid = "$OpenBSD: clnt_udp.c,v 1.4 1996/07/20 06:12:25 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/get_myaddress.c b/lib/libc/rpc/get_myaddress.c index 48041537f6b..e9f05d48052 100644 --- a/lib/libc/rpc/get_myaddress.c +++ b/lib/libc/rpc/get_myaddress.c @@ -1,3 +1,4 @@ +/* $OpenBSD: get_myaddress.c,v 1.4 1996/07/20 06:12:26 deraadt Exp $ */ /* $NetBSD: get_myaddress.c,v 1.3 1996/01/04 20:05:04 pk Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)get_myaddress.c 1.4 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)get_myaddress.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: get_myaddress.c,v 1.3 1996/01/04 20:05:04 pk Exp $"; +static char *rcsid = "$OpenBSD: get_myaddress.c,v 1.4 1996/07/20 06:12:26 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/getrpcent.3 b/lib/libc/rpc/getrpcent.3 index 0d1db9bfe6b..b77ed9c68b8 100644 --- a/lib/libc/rpc/getrpcent.3 +++ b/lib/libc/rpc/getrpcent.3 @@ -1,4 +1,5 @@ .\" @(#)getrpcent.3n 2.2 88/08/02 4.0 RPCSRC; from 1.11 88/03/14 SMI +.\" $OpenBSD: getrpcent.3,v 1.2 1996/07/20 06:12:27 deraadt Exp $ .\" $NetBSD: getrpcent.3,v 1.2 1995/02/25 03:01:44 cgd Exp $ .\" .Dd December 14, 1987 diff --git a/lib/libc/rpc/getrpcent.c b/lib/libc/rpc/getrpcent.c index fc6dc26c822..d3781602705 100644 --- a/lib/libc/rpc/getrpcent.c +++ b/lib/libc/rpc/getrpcent.c @@ -1,3 +1,4 @@ +/* $OpenBSD: getrpcent.c,v 1.2 1996/07/20 06:12:28 deraadt Exp $ */ /* $NetBSD: getrpcent.c,v 1.4 1995/02/25 03:01:45 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)getrpcent.c 1.14 91/03/11 Copyr 1984 Sun Micro";*/ -static char *rcsid = "$NetBSD: getrpcent.c,v 1.4 1995/02/25 03:01:45 cgd Exp $"; +static char *rcsid = "$OpenBSD: getrpcent.c,v 1.2 1996/07/20 06:12:28 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/getrpcport.3 b/lib/libc/rpc/getrpcport.3 index 17a8e77879f..68fab43af77 100644 --- a/lib/libc/rpc/getrpcport.3 +++ b/lib/libc/rpc/getrpcport.3 @@ -1,4 +1,5 @@ .\" @(#)getrpcport.3r 2.2 88/08/02 4.0 RPCSRC; from 1.12 88/02/26 SMI +.\" $OpenBSD: getrpcport.3,v 1.2 1996/07/20 06:12:29 deraadt Exp $ .\" $NetBSD: getrpcport.3,v 1.2 1995/02/25 03:01:46 cgd Exp $ .\" .Dd October 6, 1987 diff --git a/lib/libc/rpc/getrpcport.c b/lib/libc/rpc/getrpcport.c index 1d34cad1e4e..6e78e5fc0fa 100644 --- a/lib/libc/rpc/getrpcport.c +++ b/lib/libc/rpc/getrpcport.c @@ -1,3 +1,4 @@ +/* $OpenBSD: getrpcport.c,v 1.3 1996/07/20 06:12:30 deraadt Exp $ */ /* $NetBSD: getrpcport.c,v 1.5 1995/06/03 22:37:24 mycroft Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)getrpcport.c 1.3 87/08/11 SMI";*/ /*static char *sccsid = "from: @(#)getrpcport.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: getrpcport.c,v 1.5 1995/06/03 22:37:24 mycroft Exp $"; +static char *rcsid = "$OpenBSD: getrpcport.c,v 1.3 1996/07/20 06:12:30 deraadt Exp $"; #endif /* @@ -59,6 +60,6 @@ getrpcport(host, prognum, versnum, proto) addr.sin_len = sizeof(struct sockaddr_in); addr.sin_family = AF_INET; addr.sin_port = 0; - bcopy(hp->h_addr, (char *) &addr.sin_addr, hp->h_length); + memcpy((char *)&addr.sin_addr, hp->h_addr, hp->h_length); return (pmap_getport(&addr, prognum, versnum, proto)); } diff --git a/lib/libc/rpc/pmap_clnt.c b/lib/libc/rpc/pmap_clnt.c index 3613fe6677c..e36c64c51a6 100644 --- a/lib/libc/rpc/pmap_clnt.c +++ b/lib/libc/rpc/pmap_clnt.c @@ -1,3 +1,4 @@ +/* $OpenBSD: pmap_clnt.c,v 1.4 1996/07/20 06:12:30 deraadt Exp $ */ /* $NetBSD: pmap_clnt.c,v 1.3 1996/01/04 20:06:22 pk Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)pmap_clnt.c 1.37 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)pmap_clnt.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: pmap_clnt.c,v 1.3 1996/01/04 20:06:22 pk Exp $"; +static char *rcsid = "$OpenBSD: pmap_clnt.c,v 1.4 1996/07/20 06:12:30 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/pmap_getmaps.c b/lib/libc/rpc/pmap_getmaps.c index aadbcf75559..29ec685469f 100644 --- a/lib/libc/rpc/pmap_getmaps.c +++ b/lib/libc/rpc/pmap_getmaps.c @@ -1,3 +1,4 @@ +/* $OpenBSD: pmap_getmaps.c,v 1.2 1996/07/20 06:12:31 deraadt Exp $ */ /* $NetBSD: pmap_getmaps.c,v 1.3 1995/02/25 03:01:48 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)pmap_getmaps.c 1.10 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)pmap_getmaps.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: pmap_getmaps.c,v 1.3 1995/02/25 03:01:48 cgd Exp $"; +static char *rcsid = "$OpenBSD: pmap_getmaps.c,v 1.2 1996/07/20 06:12:31 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/pmap_getport.c b/lib/libc/rpc/pmap_getport.c index db0ffd9ec3e..ca88f9caf32 100644 --- a/lib/libc/rpc/pmap_getport.c +++ b/lib/libc/rpc/pmap_getport.c @@ -1,3 +1,4 @@ +/* $OpenBSD: pmap_getport.c,v 1.2 1996/07/20 06:12:32 deraadt Exp $ */ /* $NetBSD: pmap_getport.c,v 1.2 1995/02/25 03:01:49 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)pmap_getport.c 1.9 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)pmap_getport.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: pmap_getport.c,v 1.2 1995/02/25 03:01:49 cgd Exp $"; +static char *rcsid = "$OpenBSD: pmap_getport.c,v 1.2 1996/07/20 06:12:32 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/pmap_prot.c b/lib/libc/rpc/pmap_prot.c index a8a9a036ec8..e49f5027ea5 100644 --- a/lib/libc/rpc/pmap_prot.c +++ b/lib/libc/rpc/pmap_prot.c @@ -1,3 +1,4 @@ +/* $OpenBSD: pmap_prot.c,v 1.2 1996/07/20 06:12:33 deraadt Exp $ */ /* $NetBSD: pmap_prot.c,v 1.2 1995/02/25 03:01:49 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)pmap_prot.c 1.17 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)pmap_prot.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: pmap_prot.c,v 1.2 1995/02/25 03:01:49 cgd Exp $"; +static char *rcsid = "$OpenBSD: pmap_prot.c,v 1.2 1996/07/20 06:12:33 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/pmap_prot2.c b/lib/libc/rpc/pmap_prot2.c index 7c968dc195a..043fb20dd7e 100644 --- a/lib/libc/rpc/pmap_prot2.c +++ b/lib/libc/rpc/pmap_prot2.c @@ -1,3 +1,4 @@ +/* $OpenBSD: pmap_prot2.c,v 1.2 1996/07/20 06:12:34 deraadt Exp $ */ /* $NetBSD: pmap_prot2.c,v 1.2 1995/02/25 03:01:50 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)pmap_prot2.c 1.3 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)pmap_prot2.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: pmap_prot2.c,v 1.2 1995/02/25 03:01:50 cgd Exp $"; +static char *rcsid = "$OpenBSD: pmap_prot2.c,v 1.2 1996/07/20 06:12:34 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/pmap_rmt.c b/lib/libc/rpc/pmap_rmt.c index 5e8082e2b93..f81596ea3cb 100644 --- a/lib/libc/rpc/pmap_rmt.c +++ b/lib/libc/rpc/pmap_rmt.c @@ -1,3 +1,4 @@ +/* $OpenBSD: pmap_rmt.c,v 1.3 1996/07/20 06:12:35 deraadt Exp $ */ /* $NetBSD: pmap_rmt.c,v 1.6 1995/06/03 22:37:25 mycroft Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)pmap_rmt.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: pmap_rmt.c,v 1.6 1995/06/03 22:37:25 mycroft Exp $"; +static char *rcsid = "$OpenBSD: pmap_rmt.c,v 1.3 1996/07/20 06:12:35 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/rpc.3 b/lib/libc/rpc/rpc.3 index 090efdf2fa0..bbcfd7f4659 100644 --- a/lib/libc/rpc/rpc.3 +++ b/lib/libc/rpc/rpc.3 @@ -1,4 +1,5 @@ .\" @(#)rpc.3n 2.4 88/08/08 4.0 RPCSRC; from 1.19 88/06/24 SMI +.\" $OpenBSD: rpc.3,v 1.3 1996/07/20 06:12:36 deraadt Exp $ .\" $NetBSD: rpc.3,v 1.3 1996/01/04 20:09:53 pk Exp $ .\" .TH RPC 3N "16 February 1988" diff --git a/lib/libc/rpc/rpc_callmsg.c b/lib/libc/rpc/rpc_callmsg.c index 535459485e3..d798f9fb7b5 100644 --- a/lib/libc/rpc/rpc_callmsg.c +++ b/lib/libc/rpc/rpc_callmsg.c @@ -1,3 +1,4 @@ +/* $OpenBSD: rpc_callmsg.c,v 1.2 1996/07/20 06:12:37 deraadt Exp $ */ /* $NetBSD: rpc_callmsg.c,v 1.4 1995/04/29 05:26:31 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)rpc_callmsg.c 1.4 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)rpc_callmsg.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: rpc_callmsg.c,v 1.4 1995/04/29 05:26:31 cgd Exp $"; +static char *rcsid = "$OpenBSD: rpc_callmsg.c,v 1.2 1996/07/20 06:12:37 deraadt Exp $"; #endif /* @@ -86,14 +87,14 @@ xdr_callmsg(xdrs, cmsg) IXDR_PUT_ENUM(buf, oa->oa_flavor); IXDR_PUT_LONG(buf, oa->oa_length); if (oa->oa_length) { - bcopy(oa->oa_base, (caddr_t)buf, oa->oa_length); + memcpy((caddr_t)buf, oa->oa_base, oa->oa_length); buf += RNDUP(oa->oa_length) / sizeof (int32_t); } oa = &cmsg->rm_call.cb_verf; IXDR_PUT_ENUM(buf, oa->oa_flavor); IXDR_PUT_LONG(buf, oa->oa_length); if (oa->oa_length) { - bcopy(oa->oa_base, (caddr_t)buf, oa->oa_length); + memcpy((caddr_t)buf, oa->oa_base, oa->oa_length); /* no real need.... buf += RNDUP(oa->oa_length) / sizeof (int32_t); */ @@ -134,7 +135,7 @@ xdr_callmsg(xdrs, cmsg) return (FALSE); } } else { - bcopy((caddr_t)buf, oa->oa_base, + memcpy(oa->oa_base, (caddr_t)buf, oa->oa_length); /* no real need.... buf += RNDUP(oa->oa_length) / @@ -168,7 +169,7 @@ xdr_callmsg(xdrs, cmsg) return (FALSE); } } else { - bcopy((caddr_t)buf, oa->oa_base, + memcpy(oa->oa_base, (caddr_t)buf, oa->oa_length); /* no real need... buf += RNDUP(oa->oa_length) / diff --git a/lib/libc/rpc/rpc_commondata.c b/lib/libc/rpc/rpc_commondata.c index 536143da380..cf9829570fc 100644 --- a/lib/libc/rpc/rpc_commondata.c +++ b/lib/libc/rpc/rpc_commondata.c @@ -1,3 +1,4 @@ +/* $OpenBSD: rpc_commondata.c,v 1.2 1996/07/20 06:12:37 deraadt Exp $ */ /* $NetBSD: rpc_commondata.c,v 1.4 1995/02/25 03:01:54 cgd Exp $ */ /* @@ -31,7 +32,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)rpc_commondata.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: rpc_commondata.c,v 1.4 1995/02/25 03:01:54 cgd Exp $"; +static char *rcsid = "$OpenBSD: rpc_commondata.c,v 1.2 1996/07/20 06:12:37 deraadt Exp $"; #endif #include <rpc/rpc.h> diff --git a/lib/libc/rpc/rpc_dtablesize.c b/lib/libc/rpc/rpc_dtablesize.c index 815d31eda6d..604bca3f953 100644 --- a/lib/libc/rpc/rpc_dtablesize.c +++ b/lib/libc/rpc/rpc_dtablesize.c @@ -1,3 +1,4 @@ +/* $OpenBSD: rpc_dtablesize.c,v 1.2 1996/07/20 06:12:38 deraadt Exp $ */ /* $NetBSD: rpc_dtablesize.c,v 1.3 1995/02/25 03:01:55 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)rpc_dtablesize.c 1.2 87/08/11 Copyr 1987 Sun Micro";*/ /*static char *sccsid = "from: @(#)rpc_dtablesize.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: rpc_dtablesize.c,v 1.3 1995/02/25 03:01:55 cgd Exp $"; +static char *rcsid = "$OpenBSD: rpc_dtablesize.c,v 1.2 1996/07/20 06:12:38 deraadt Exp $"; #endif #include <sys/types.h> diff --git a/lib/libc/rpc/rpc_prot.c b/lib/libc/rpc/rpc_prot.c index 26889dbea9c..0ea24e963ac 100644 --- a/lib/libc/rpc/rpc_prot.c +++ b/lib/libc/rpc/rpc_prot.c @@ -1,3 +1,4 @@ +/* $OpenBSD: rpc_prot.c,v 1.2 1996/07/20 06:12:39 deraadt Exp $ */ /* $NetBSD: rpc_prot.c,v 1.3 1995/04/29 05:26:35 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)rpc_prot.c 1.36 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)rpc_prot.c 2.3 88/08/07 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: rpc_prot.c,v 1.3 1995/04/29 05:26:35 cgd Exp $"; +static char *rcsid = "$OpenBSD: rpc_prot.c,v 1.2 1996/07/20 06:12:39 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/svc.c b/lib/libc/rpc/svc.c index 8f1b72192ef..86897f4e550 100644 --- a/lib/libc/rpc/svc.c +++ b/lib/libc/rpc/svc.c @@ -1,3 +1,4 @@ +/* $OpenBSD: svc.c,v 1.4 1996/07/20 06:12:40 deraadt Exp $ */ /* $NetBSD: svc.c,v 1.9 1996/05/17 00:32:22 jtc Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)svc.c 1.44 88/02/08 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)svc.c 2.4 88/08/11 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: svc.c,v 1.9 1996/05/17 00:32:22 jtc Exp $"; +static char *rcsid = "$OpenBSD: svc.c,v 1.4 1996/07/20 06:12:40 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/svc_auth.c b/lib/libc/rpc/svc_auth.c index a7ae4bd96c0..3522cf90793 100644 --- a/lib/libc/rpc/svc_auth.c +++ b/lib/libc/rpc/svc_auth.c @@ -1,3 +1,4 @@ +/* $OpenBSD: svc_auth.c,v 1.2 1996/07/20 06:12:41 deraadt Exp $ */ /* $NetBSD: svc_auth.c,v 1.2 1995/02/25 03:01:57 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)svc_auth.c 1.19 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)svc_auth.c 2.1 88/08/07 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: svc_auth.c,v 1.2 1995/02/25 03:01:57 cgd Exp $"; +static char *rcsid = "$OpenBSD: svc_auth.c,v 1.2 1996/07/20 06:12:41 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/svc_auth_unix.c b/lib/libc/rpc/svc_auth_unix.c index 2f4f3ada37c..67e62014873 100644 --- a/lib/libc/rpc/svc_auth_unix.c +++ b/lib/libc/rpc/svc_auth_unix.c @@ -1,3 +1,4 @@ +/* $OpenBSD: svc_auth_unix.c,v 1.2 1996/07/20 06:12:42 deraadt Exp $ */ /* $NetBSD: svc_auth_unix.c,v 1.3 1995/02/25 03:01:58 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)svc_auth_unix.c 1.28 88/02/08 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)svc_auth_unix.c 2.3 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: svc_auth_unix.c,v 1.3 1995/02/25 03:01:58 cgd Exp $"; +static char *rcsid = "$OpenBSD: svc_auth_unix.c,v 1.2 1996/07/20 06:12:42 deraadt Exp $"; #endif /* @@ -84,7 +85,7 @@ _svcauth_unix(rqst, msg) stat = AUTH_BADCRED; goto done; } - bcopy((caddr_t)buf, aup->aup_machname, (u_int)str_len); + memcpy(aup->aup_machname, (caddr_t)buf, (u_int)str_len); aup->aup_machname[str_len] = 0; str_len = RNDUP(str_len); buf += str_len / sizeof (int32_t); diff --git a/lib/libc/rpc/svc_raw.c b/lib/libc/rpc/svc_raw.c index f3e791c11fd..e651667da18 100644 --- a/lib/libc/rpc/svc_raw.c +++ b/lib/libc/rpc/svc_raw.c @@ -1,3 +1,4 @@ +/* $OpenBSD: svc_raw.c,v 1.2 1996/07/20 06:12:43 deraadt Exp $ */ /* $NetBSD: svc_raw.c,v 1.3 1995/02/25 03:01:59 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)svc_raw.c 1.15 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)svc_raw.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: svc_raw.c,v 1.3 1995/02/25 03:01:59 cgd Exp $"; +static char *rcsid = "$OpenBSD: svc_raw.c,v 1.2 1996/07/20 06:12:43 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/svc_run.c b/lib/libc/rpc/svc_run.c index fe44f8c9821..68edcaf2188 100644 --- a/lib/libc/rpc/svc_run.c +++ b/lib/libc/rpc/svc_run.c @@ -1,3 +1,4 @@ +/* $OpenBSD: svc_run.c,v 1.3 1996/07/20 06:12:43 deraadt Exp $ */ /* $NetBSD: svc_run.c,v 1.6 1995/02/25 03:02:00 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)svc_run.c 1.1 87/10/13 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)svc_run.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: svc_run.c,v 1.6 1995/02/25 03:02:00 cgd Exp $"; +static char *rcsid = "$OpenBSD: svc_run.c,v 1.3 1996/07/20 06:12:43 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/svc_simple.c b/lib/libc/rpc/svc_simple.c index 5c6e269a5dc..f1d5d6d574b 100644 --- a/lib/libc/rpc/svc_simple.c +++ b/lib/libc/rpc/svc_simple.c @@ -1,3 +1,4 @@ +/* $OpenBSD: svc_simple.c,v 1.2 1996/07/20 06:12:44 deraadt Exp $ */ /* $NetBSD: svc_simple.c,v 1.4 1995/04/14 19:48:28 jtc Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)svc_simple.c 1.18 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)svc_simple.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: svc_simple.c,v 1.4 1995/04/14 19:48:28 jtc Exp $"; +static char *rcsid = "$OpenBSD: svc_simple.c,v 1.2 1996/07/20 06:12:44 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/svc_tcp.c b/lib/libc/rpc/svc_tcp.c index 5c3b2644f10..758b9d998a4 100644 --- a/lib/libc/rpc/svc_tcp.c +++ b/lib/libc/rpc/svc_tcp.c @@ -1,3 +1,4 @@ +/* $OpenBSD: svc_tcp.c,v 1.3 1996/07/20 06:12:45 deraadt Exp $ */ /* $NetBSD: svc_tcp.c,v 1.6 1995/06/03 22:37:27 mycroft Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)svc_tcp.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: svc_tcp.c,v 1.6 1995/06/03 22:37:27 mycroft Exp $"; +static char *rcsid = "$OpenBSD: svc_tcp.c,v 1.3 1996/07/20 06:12:45 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/svc_udp.c b/lib/libc/rpc/svc_udp.c index 230a57ac320..9fe5f83703f 100644 --- a/lib/libc/rpc/svc_udp.c +++ b/lib/libc/rpc/svc_udp.c @@ -1,3 +1,4 @@ +/* $OpenBSD: svc_udp.c,v 1.2 1996/07/20 06:12:46 deraadt Exp $ */ /* $NetBSD: svc_udp.c,v 1.6 1995/06/03 22:37:28 mycroft Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)svc_udp.c 1.24 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)svc_udp.c 2.2 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: svc_udp.c,v 1.6 1995/06/03 22:37:28 mycroft Exp $"; +static char *rcsid = "$OpenBSD: svc_udp.c,v 1.2 1996/07/20 06:12:46 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/xdr.3 b/lib/libc/rpc/xdr.3 index 3a016dd1abb..778e11c52a3 100644 --- a/lib/libc/rpc/xdr.3 +++ b/lib/libc/rpc/xdr.3 @@ -1,4 +1,5 @@ .\" @(#)xdr.3n 2.2 88/08/03 4.0 RPCSRC; from 1.16 88/03/14 SMI +.\" $OpenBSD: xdr.3,v 1.2 1996/07/20 06:12:48 deraadt Exp $ .\" $NetBSD: xdr.3,v 1.2 1995/02/25 03:02:03 cgd Exp $ .\" .TH XDR 3N "16 February 1988" diff --git a/lib/libc/rpc/xdr.c b/lib/libc/rpc/xdr.c index 7d9493b67ce..6d66afb95eb 100644 --- a/lib/libc/rpc/xdr.c +++ b/lib/libc/rpc/xdr.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr.c,v 1.2 1996/07/20 06:12:49 deraadt Exp $ */ /* $NetBSD: xdr.c,v 1.8 1995/04/29 05:26:38 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)xdr.c 1.35 87/08/12";*/ /*static char *sccsid = "from: @(#)xdr.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: xdr.c,v 1.8 1995/04/29 05:26:38 cgd Exp $"; +static char *rcsid = "$OpenBSD: xdr.c,v 1.2 1996/07/20 06:12:49 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/xdr_array.c b/lib/libc/rpc/xdr_array.c index 73f340c2e01..020036f8eb9 100644 --- a/lib/libc/rpc/xdr_array.c +++ b/lib/libc/rpc/xdr_array.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_array.c,v 1.2 1996/07/20 06:12:50 deraadt Exp $ */ /* $NetBSD: xdr_array.c,v 1.4 1995/04/14 20:30:16 jtc Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)xdr_array.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: xdr_array.c,v 1.4 1995/04/14 20:30:16 jtc Exp $"; +static char *rcsid = "$OpenBSD: xdr_array.c,v 1.2 1996/07/20 06:12:50 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/xdr_mem.c b/lib/libc/rpc/xdr_mem.c index a1bbb866a4d..ea6c5978a36 100644 --- a/lib/libc/rpc/xdr_mem.c +++ b/lib/libc/rpc/xdr_mem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xdr_mem.c,v 1.2 1996/03/09 02:42:53 niklas Exp $ */ +/* $OpenBSD: xdr_mem.c,v 1.3 1996/07/20 06:12:50 deraadt Exp $ */ /* $NetBSD: xdr_mem.c,v 1.4 1996/02/08 08:06:05 mycroft Exp $ */ /* @@ -147,7 +147,7 @@ xdrmem_getlong_unaligned(xdrs, lp) if ((xdrs->x_handy -= sizeof(int32_t)) < 0) return (FALSE); - bcopy(xdrs->x_private, &l, sizeof(int32_t)); + memcpy(&l, xdrs->x_private, sizeof(int32_t)); *lp = ntohl(l); xdrs->x_private += sizeof(int32_t); return (TRUE); @@ -163,7 +163,7 @@ xdrmem_putlong_unaligned(xdrs, lp) if ((xdrs->x_handy -= sizeof(int32_t)) < 0) return (FALSE); l = htonl(*lp); - bcopy(&l, xdrs->x_private, sizeof(int32_t)); + memcpy(xdrs->x_private, &l, sizeof(int32_t)); xdrs->x_private += sizeof(int32_t); return (TRUE); } @@ -177,7 +177,7 @@ xdrmem_getbytes(xdrs, addr, len) if ((xdrs->x_handy -= len) < 0) return (FALSE); - bcopy(xdrs->x_private, addr, len); + memcpy(addr, xdrs->x_private, len); xdrs->x_private += len; return (TRUE); } @@ -191,7 +191,7 @@ xdrmem_putbytes(xdrs, addr, len) if ((xdrs->x_handy -= len) < 0) return (FALSE); - bcopy(addr, xdrs->x_private, len); + memcpy(xdrs->x_private, addr, len); xdrs->x_private += len; return (TRUE); } diff --git a/lib/libc/rpc/xdr_rec.c b/lib/libc/rpc/xdr_rec.c index 8857750660e..4e0e106e174 100644 --- a/lib/libc/rpc/xdr_rec.c +++ b/lib/libc/rpc/xdr_rec.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_rec.c,v 1.3 1996/07/20 06:12:51 deraadt Exp $ */ /* $NetBSD: xdr_rec.c,v 1.5 1995/02/25 03:02:08 cgd Exp $ */ /* @@ -31,7 +32,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)xdr_rec.c 1.21 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)xdr_rec.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: xdr_rec.c,v 1.5 1995/02/25 03:02:08 cgd Exp $"; +static char *rcsid = "$OpenBSD: xdr_rec.c,v 1.3 1996/07/20 06:12:51 deraadt Exp $"; #endif /* @@ -283,7 +284,7 @@ xdrrec_putbytes(xdrs, addr, len) current = (u_long)rstrm->out_boundry - (u_long)rstrm->out_finger; current = (len < current) ? len : current; - bcopy(addr, rstrm->out_finger, current); + memcpy(rstrm->out_finger, addr, current); rstrm->out_finger += current; addr += current; len -= current; @@ -534,7 +535,7 @@ get_input_bytes(rstrm, addr, len) continue; } current = (len < current) ? len : current; - bcopy(rstrm->in_finger, addr, current); + memcpy(addr, rstrm->in_finger, current); rstrm->in_finger += current; addr += current; len -= current; diff --git a/lib/libc/rpc/xdr_reference.c b/lib/libc/rpc/xdr_reference.c index 13c655155e6..49afe5e65b5 100644 --- a/lib/libc/rpc/xdr_reference.c +++ b/lib/libc/rpc/xdr_reference.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_reference.c,v 1.2 1996/07/20 06:12:52 deraadt Exp $ */ /* $NetBSD: xdr_reference.c,v 1.5 1995/04/14 20:30:18 jtc Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)xdr_reference.c 1.11 87/08/11 SMI";*/ /*static char *sccsid = "from: @(#)xdr_reference.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: xdr_reference.c,v 1.5 1995/04/14 20:30:18 jtc Exp $"; +static char *rcsid = "$OpenBSD: xdr_reference.c,v 1.2 1996/07/20 06:12:52 deraadt Exp $"; #endif /* diff --git a/lib/libc/rpc/xdr_stdio.c b/lib/libc/rpc/xdr_stdio.c index 2cc911b92a0..f15fbe57424 100644 --- a/lib/libc/rpc/xdr_stdio.c +++ b/lib/libc/rpc/xdr_stdio.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_stdio.c,v 1.2 1996/07/20 06:12:53 deraadt Exp $ */ /* $NetBSD: xdr_stdio.c,v 1.3 1995/02/25 03:02:09 cgd Exp $ */ /* @@ -32,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)xdr_stdio.c 1.16 87/08/11 Copyr 1984 Sun Micro";*/ /*static char *sccsid = "from: @(#)xdr_stdio.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$NetBSD: xdr_stdio.c,v 1.3 1995/02/25 03:02:09 cgd Exp $"; +static char *rcsid = "$OpenBSD: xdr_stdio.c,v 1.2 1996/07/20 06:12:53 deraadt Exp $"; #endif /* |