From 1f539fd1dc223141f6c3bce738b4654d6220fcef Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 12 Aug 1998 17:06:39 +0000 Subject: Update. 1998-08-12 17:03 Ulrich Drepper * include/unistd.h: Protect against multiple inclusion. * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P is defined, not is glob is defined. * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P. 1998-08-01 17:18 H.J. Lu * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of xdr_string for ut_line, ut_name and ut_host. 1998-08-12 Andreas Jaeger * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to /var/mail in accordance with FHS 2.0. Reported by Javier Kohen [PR libc/639]. 1998-08-12 Richard Henderson * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg): Update aliases for cancelation. * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before playing with symbol versions. (_hurd_canonicalize_directory_name_internal): Do not loop forever for unknown root directories. be reached. --- sunrpc/rpcsvc/rusers.x | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'sunrpc/rpcsvc') diff --git a/sunrpc/rpcsvc/rusers.x b/sunrpc/rpcsvc/rusers.x index 641d3c2b16..7f3abeb75d 100644 --- a/sunrpc/rpcsvc/rusers.x +++ b/sunrpc/rpcsvc/rusers.x @@ -145,16 +145,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); % } % } -- cgit 1.4.1