From owner-freebsd-current@FreeBSD.ORG Sun Feb 20 16:50:39 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79F8416A4CE; Sun, 20 Feb 2005 16:50:39 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 728A843D54; Sun, 20 Feb 2005 16:50:38 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j1KGoapK038601; Sun, 20 Feb 2005 18:50:36 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 99060-20; Sun, 20 Feb 2005 18:50:36 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j1KGoZLt038598 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 Feb 2005 18:50:35 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id j1KGogBU047703; Sun, 20 Feb 2005 18:50:42 +0200 (EET) (envelope-from ru) Date: Sun, 20 Feb 2005 18:50:42 +0200 From: Ruslan Ermilov To: Peter Grehan Message-ID: <20050220165042.GB47621@ip.net.ua> References: <200502192359.j1JNxoo2070904@repoman.freebsd.org> <42185BD5.7000502@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cvVnyQ+4j833TQvp" Content-Disposition: inline In-Reply-To: <42185BD5.7000502@freebsd.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: current@freebsd.org Subject: Re: cvs commit: src/usr.bin/cap_mkdb cap_mkdb.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 16:50:39 -0000 --cvVnyQ+4j833TQvp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 20, 2005 at 07:43:49PM +1000, Peter Grehan wrote: > Ruslan Ermilov wrote: > >ru 2005-02-19 23:59:50 UTC > > > > FreeBSD src repository > > > > Modified files: > > usr.bin/cap_mkdb cap_mkdb.c=20 > > Log: > > Fixate the hash bucket size to 4K. We were using the default, > > which is stat.st_blksize (i.e., PAGE_SIZE). > > =20 > > This change causes the .db files that were cross-compiled on > > another platform to be identical to the natively built ones. > > =20 > > Tested on: alpha->amd64 build >=20 > This doesn't fix the endian issue does it ? >=20 *Shrug* I thought I've put this into a commit log, but apparently not. I'll add proper endianness support (like in NetBSD) to cap_mkdb and pwd_mkdb later, when I walk through the "* <-> sparc64" cross-builds. Currently, I'm working on fixing cross-builds between i386, alpha, and amd64. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --cvVnyQ+4j833TQvp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCGL/iqRfpzJluFF4RAlfKAJ9GxByH0EhqR+I2VL5lTKBDF2BrQwCfQ50b q/aYMHUZ91adNTtW6paDOoY= =L6L6 -----END PGP SIGNATURE----- --cvVnyQ+4j833TQvp--