diff options
author | wpaul <wpaul@FreeBSD.org> | 1995-12-09 08:34:04 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1995-12-09 08:34:04 +0000 |
commit | 9212ef9542fbb04967c6f2fbffbea5a5f679cbda (patch) | |
tree | 3c87c3d2ed1f72115da98ca4cadd14bc87148213 /include/rpcsvc/yp.x | |
parent | 84865bbe45b9f5476d33c1fe9cb6abbb0b7c8c60 (diff) | |
download | FreeBSD-src-9212ef9542fbb04967c6f2fbffbea5a5f679cbda.zip FreeBSD-src-9212ef9542fbb04967c6f2fbffbea5a5f679cbda.tar.gz |
*sigh* Yet another bogosity: the YPPROC_FIRST procedure is listed as
taking an argument of type ypresp_key. This is incorrect: it should be
ypresp_nokey. (yp_first() is supposed to return the first key in a
given map; the server doesn't need any client-specified key to handle
such a request.)
Diffstat (limited to 'include/rpcsvc/yp.x')
-rw-r--r-- | include/rpcsvc/yp.x | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/rpcsvc/yp.x b/include/rpcsvc/yp.x index 0a5658c..80ab47d 100644 --- a/include/rpcsvc/yp.x +++ b/include/rpcsvc/yp.x @@ -34,7 +34,7 @@ #ifndef RPC_HDR %#ifndef lint %/*static char sccsid[] = "from: @(#)yp.x 2.1 88/08/01 4.0 RPCSRC";*/ -%static char rcsid[] = "$Id$"; +%static char rcsid[] = "$Id: yp.x,v 1.2 1995/12/08 17:58:50 wpaul Exp $"; %#endif /* not lint */ #endif @@ -242,8 +242,11 @@ program YPPROG { YPPROC_MATCH(ypreq_key) = 3; ypresp_key_val +#ifdef STUPID_SUN_BUG /* should be ypreq_nokey */ YPPROC_FIRST(ypreq_key) = 4; - +#else + YPPROC_FIRST(ypreq_nokey) = 4; +#endif ypresp_key_val YPPROC_NEXT(ypreq_key) = 5; |