aboutsummaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-08-12 17:06:39 +0000
committerUlrich Drepper <drepper@redhat.com>1998-08-12 17:06:39 +0000
commit1f539fd1dc223141f6c3bce738b4654d6220fcef (patch)
treef645fc10bab8906017d99e79ecfcf3b5a71a8e0c /sunrpc
parentProtect against multiple inclusion. (diff)
downloadglibc-1f539fd1dc223141f6c3bce738b4654d6220fcef.tar.gz
glibc-1f539fd1dc223141f6c3bce738b4654d6220fcef.tar.bz2
glibc-1f539fd1dc223141f6c3bce738b4654d6220fcef.zip
Update.
1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com> * 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 <hjl@gnu.org> * 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 <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to /var/mail in accordance with FHS 2.0. Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639]. 1998-08-12 Richard Henderson <rth@cygnus.com> * 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.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/rpcsvc/rusers.x10
1 files changed, 7 insertions, 3 deletions
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);
% }
% }