Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/lib/libc/rpc Pull up following revision(s) (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/afcf4fd7eb2f
branches:  netbsd-6
changeset: 777245:afcf4fd7eb2f
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Aug 31 13:43:19 2017 +0000

description:
Pull up following revision(s) (requested by ginsbach in ticket #1494):
        lib/libc/rpc/rpcb_st_xdr.c: revision 1.12
PR lib/15802: Shuuichirou Murata: Add missing xdr_rpcbs_rmtcalllist_ptr
There was a missing call to xdr_rpcbs_rmtcalllist_ptr in xdr_rpcb_stat.
This fixes issues with RPCBPROC_GETSTAT not working correctly with
systems that correctly implement the XDR encode/decode routine.
XXX: pullup-8
XXX: pullup-7
XXX: pullup-6

diffstat:

 lib/libc/rpc/rpcb_st_xdr.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r f6bb9af20640 -r afcf4fd7eb2f lib/libc/rpc/rpcb_st_xdr.c
--- a/lib/libc/rpc/rpcb_st_xdr.c        Wed Aug 30 07:12:21 2017 +0000
+++ b/lib/libc/rpc/rpcb_st_xdr.c        Thu Aug 31 13:43:19 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpcb_st_xdr.c,v 1.7.46.1 2013/03/14 22:03:09 riz Exp $ */
+/*     $NetBSD: rpcb_st_xdr.c,v 1.7.46.2 2017/08/31 13:43:19 martin Exp $      */
 
 /*
  * Copyright (c) 2010, Oracle America, Inc.
@@ -42,7 +42,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: rpcb_st_xdr.c,v 1.7.46.1 2013/03/14 22:03:09 riz Exp $");
+__RCSID("$NetBSD: rpcb_st_xdr.c,v 1.7.46.2 2017/08/31 13:43:19 martin Exp $");
 #endif
 
 #include "namespace.h"
@@ -269,6 +269,9 @@
        if (!xdr_rpcbs_addrlist_ptr(xdrs, &objp->addrinfo)) {
                return (FALSE);
        }
+       if (!xdr_rpcbs_rmtcalllist_ptr(xdrs, &objp->rmtinfo)) {
+               return (FALSE);
+       }
        return (TRUE);
 }
 



Home | Main Index | Thread Index | Old Index