summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1997-05-28 16:38:35 +0000
committerwpaul <wpaul@FreeBSD.org>1997-05-28 16:38:35 +0000
commitbf79e8222cb484cf2543953dda1b43bc01c074ce (patch)
treece54b2c52af897a79dc4e1d252842d0d73874b46 /lib/libc/rpc
parent7cc2115df4edd50461954710cdb0a9467585377d (diff)
downloadFreeBSD-src-bf79e8222cb484cf2543953dda1b43bc01c074ce.zip
FreeBSD-src-bf79e8222cb484cf2543953dda1b43bc01c074ce.tar.gz
Fix other small things that got lost in the merge:
- bde's change to includes section in getrpcent.3 - Lost comment in svc_run.c (the code here was actually the same since I had fixed the 'fds + 1' bug in my stuff at home before mailing Peter about it, but I didn't notce that he'd made a change to the comment right above the changed line). Also pointed out by the ever vigilant: bde
Diffstat (limited to 'lib/libc/rpc')
-rw-r--r--lib/libc/rpc/getrpcent.32
-rw-r--r--lib/libc/rpc/svc_run.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/rpc/getrpcent.3 b/lib/libc/rpc/getrpcent.3
index 5d70079..20e0256 100644
--- a/lib/libc/rpc/getrpcent.3
+++ b/lib/libc/rpc/getrpcent.3
@@ -10,7 +10,7 @@
.Nm setrpcent
.Nd get RPC entry
.Sh SYNOPSIS
-.Fd #include <netdb.h>
+.Fd #include <rpc/rpc.h>
.Ft struct rpcent *
.Fn getrpcent void
.Ft struct rpcent *
diff --git a/lib/libc/rpc/svc_run.c b/lib/libc/rpc/svc_run.c
index 896aa12..0692c25 100644
--- a/lib/libc/rpc/svc_run.c
+++ b/lib/libc/rpc/svc_run.c
@@ -30,7 +30,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 = "$Id: svc_run.c,v 1.4 1996/12/30 15:14:29 peter Exp $";
+static char *rcsid = "$Id: svc_run.c,v 1.7 1997/02/22 15:01:32 peter Exp $";
#endif
/*
@@ -79,7 +79,7 @@ svc_run()
free(fds);
continue;
default:
- /* XXX What the hell?? what if fds == NULL?? */
+ /* if fds == NULL, select() can't return a result */
svc_getreqset2(fds, svc_maxfd + 1);
free(fds);
}
OpenPOWER on IntegriCloud