From owner-freebsd-stable@FreeBSD.ORG Thu Apr 20 04:44:25 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E14316A413; Thu, 20 Apr 2006 04:44:25 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6004343D68; Thu, 20 Apr 2006 04:44:22 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k3K4iKXK016650; Wed, 19 Apr 2006 22:44:21 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4447119A.6000000@samsco.org> Date: Wed, 19 Apr 2006 22:44:10 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051230 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brooks Davis References: <6eb82e0604191645p70646962m78f89756d2714be7@mail.gmail.com> <20060420001142.GB19865@odin.ac.hmc.edu> In-Reply-To: <20060420001142.GB19865@odin.ac.hmc.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-stable@freebsd.org, Rong-En Fan , re@freebsd.org, peter@freebsd.org Subject: Re: ypwhich -m X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2006 04:44:25 -0000 Brooks Davis wrote: > On Wed, Apr 19, 2006 at 07:45:47PM -0400, Rong-En Fan wrote: > >>Hi, >> >>I found that ypwhich -m does not work on 6.1-RC, it shows >> >>ypwhich: can't find the master of `???`: reason: No such map in server's domain >> >>IIRC, there was a commit last year to fix this. After some search, I think >>it is include/rpcsvc/yp_prot.h revision 1.13 done by peter@ (CC'ed). >>As far as I can tell, ypwhich -m is also broken on 5.4 and 5.5-PRERELEASE. >> >>I have tested that revision on a 5.5-PRERELEASE machine, it >>fixes ypwhich -m. I would like to see this MFC'ed to RELENG_6 >>and RELENG_5, so the newer releases will have this fixed. > > > I've verified this on a 6-STABLE machine from January. If approved, > I'll do it tomorrow cut-n-paste damanged patch below. It's a trivial > one line change so anyone could do it. > > -- Brooks > > @@ -148,7 +148,7 @@ > }; > > struct ypmaplist { > - char ypml_name[YPMAXMAP + 1]; > + char *ypml_name; > struct ypmaplist *ypml_next; > }; > > > Approved