This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
What happened to this patch?
- To: drepper@cygnus.com (Ulrich Drepper)
- Subject: What happened to this patch?
- From: hjl@lucon.org (H.J. Lu)
- Date: Wed, 5 Aug 1998 07:14:59 -0700 (PDT)
- Cc: libc-hacker@cygnus.com (GNU C Library)
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);
% }
% }