From 9212ef9542fbb04967c6f2fbffbea5a5f679cbda Mon Sep 17 00:00:00 2001 From: wpaul Date: Sat, 9 Dec 1995 08:34:04 +0000 Subject: *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.) --- include/rpcsvc/yp.x | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/rpcsvc') 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; -- cgit v1.1