From owner-freebsd-stable@FreeBSD.ORG Thu Apr 20 00:11:43 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 B94F216A400; Thu, 20 Apr 2006 00:11:43 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9E3043D68; Thu, 20 Apr 2006 00:11:42 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k3K0BgK0022690; Wed, 19 Apr 2006 17:11:42 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k3K0Bgab022689; Wed, 19 Apr 2006 17:11:42 -0700 Date: Wed, 19 Apr 2006 17:11:42 -0700 From: Brooks Davis To: Rong-En Fan Message-ID: <20060420001142.GB19865@odin.ac.hmc.edu> References: <6eb82e0604191645p70646962m78f89756d2714be7@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CUfgB8w4ZwR/yMy5" Content-Disposition: inline In-Reply-To: <6eb82e0604191645p70646962m78f89756d2714be7@mail.gmail.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: re@freebsd.org, freebsd-stable@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 00:11:43 -0000 --CUfgB8w4ZwR/yMy5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 19, 2006 at 07:45:47PM -0400, Rong-En Fan wrote: > Hi, >=20 > I found that ypwhich -m does not work on 6.1-RC, it shows >=20 > ypwhich: can't find the master of `???`: reason: No such map in server's = domain >=20 > 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. >=20 > 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; }; --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --CUfgB8w4ZwR/yMy5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFERtG9XY6L6fI4GtQRAmJRAKCsyJq85iuemqBIEMjmek16mTkOCQCffxLc pmWLuOjnuOwwy1qSE6vQzr4= =9dqq -----END PGP SIGNATURE----- --CUfgB8w4ZwR/yMy5--