This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] nis/rpcsvc/yp.h: fix ypproc_first_2 declaration


Hi,

This patch fix nis/rpcsvc/yp.h which has an incorrect declaration for
ypproc_first_2{_svc}.  First argument is declared as "ypreq_key *",
but it should be "ypreq_nokey".  These functions take no key.

This bug was derived from original Sun's .x code.  Solaris 8 and YP
server for linux 1.3.11 are already fixed.  In addition I don't touch
to fix yp.x because /usr/include/rpcsvc/yp.x in Solaris 8 is not
touched...

Regards,
-- gotom


2003-03-23  GOTO Masanori  <gotom at debian dot or dot jp>

	* nis/rpcsvc/yp.h: Fix ypproc_first_2{_svc} argument from ypreq_key
	to ypreq_nokey.


--- nis/rpcsvc/yp.h	2001-01-01 01:55:53.000000000 +0900
+++ nis/rpcsvc/yp.h.new	2003-03-23 00:55:41.000000000 +0900
@@ -253,8 +253,8 @@
 extern  ypresp_val *ypproc_match_2 (ypreq_key *, CLIENT *);
 extern  ypresp_val *ypproc_match_2_svc (ypreq_key *, struct svc_req *);
 #define YPPROC_FIRST 4
-extern  ypresp_key_val *ypproc_first_2 (ypreq_key *, CLIENT *);
-extern  ypresp_key_val *ypproc_first_2_svc (ypreq_key *, struct svc_req *);
+extern  ypresp_key_val *ypproc_first_2 (ypreq_nokey *, CLIENT *);
+extern  ypresp_key_val *ypproc_first_2_svc (ypreq_nokey *, struct svc_req *);
 #define YPPROC_NEXT 5
 extern  ypresp_key_val *ypproc_next_2 (ypreq_key *, CLIENT *);
 extern  ypresp_key_val *ypproc_next_2_svc (ypreq_key *, struct svc_req *);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]