This is the mail archive of the libc-hacker@sourceware.cygnus.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]

What happened to this patch?


Hi,

I sent in this patch a few days ago. What happened to it?

Thanks.


-- 
H.J. Lu (hjl@gnu.org)
---
Sat Aug  1 17:18:54 1998  H.J. Lu  (hjl@gnu.org)

	* sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
	xdr_string for ut_line, ut_name and ut_host.

Index: sunrpc/rpcsvc/rusers.x
===================================================================
RCS file: /home/work/cvs/gnu/glibc-2.0/sunrpc/rpcsvc/rusers.x,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 rusers.x
--- rusers.x	1997/09/19 18:10:45	1.1.1.1
+++ rusers.x	1998/08/03 15:29:03
@@ -140,16 +140,20 @@ program RUSERSPROG {
 %	if (xdrs->x_op != XDR_FREE)
 %	{
 %		char *ptr;
+%		unsigned int size;
 %		ptr = objp->ut_line;
-%		if (!xdr_string (xdrs, &ptr, sizeof (objp->ut_line))) {
+%		size = sizeof (objp->ut_line);
+%		if (!xdr_bytes (xdrs, &ptr, &size, size)) {
 %			return (FALSE);
 %		}
 %		ptr = objp->ut_name;
-%		if (!xdr_string (xdrs, &ptr, sizeof (objp->ut_name))) {
+%		size = sizeof (objp->ut_name);
+%		if (!xdr_bytes (xdrs, &ptr, &size, size)) {
 %			return (FALSE);
 %		}
 %		ptr = objp->ut_host;
-%		if (!xdr_string (xdrs, &ptr, sizeof (objp->ut_host))) {
+%		size = sizeof (objp->ut_host);
+%		if (!xdr_bytes (xdrs, &ptr, &size, size)) {
 %			return (FALSE);
 %		}
 %	}


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