From owner-svn-src-all@FreeBSD.ORG Wed Jun 3 21:58:46 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6DA8677E; Wed, 3 Jun 2015 21:58:46 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 00D3A1791; Wed, 3 Jun 2015 21:58:46 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wifw1 with SMTP id w1so37934888wif.0; Wed, 03 Jun 2015 14:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=R65MZoseHgJTu44oQdPfV7/754WZwTazDHSy/HkBu8U=; b=nE9ELEQ/Ga+3g/f/jtd1dwUKdv+0CEHR+vmQ1OM8LYEINGD3oaI9fvRm3HkAJaouQn fU8N0bi2KoWvKORYti98tGJ/dNI0Qbs2ad6PqFGdf3pi495hw95Yn95bsFTJX4zZrSKf 4KiBPttAyD2MA17WjL0Ah0MOx2V0udvDxdUAYimCL0ATiSWFXrp21/T11s6DFmPi8W20 axYoLa5GMM9LoPSmYpNZVT5++UPzBzrBp3pR45Us2lQaT9OJ79NFR5SLCEWmqYqVlDUt PJR2gGh7dDT87cfIn081am+7zTLGsqOC310ZIobEjdxDZbb18vmThZzPBcDP/WV/6kUF Xchg== X-Received: by 10.194.200.228 with SMTP id jv4mr63435282wjc.157.1433368724364; Wed, 03 Jun 2015 14:58:44 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id js3sm2886944wjc.5.2015.06.03.14.58.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jun 2015 14:58:43 -0700 (PDT) Sender: Baptiste Daroussin Date: Wed, 3 Jun 2015 23:58:41 +0200 From: Baptiste Daroussin To: Sergey Kandaurov Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r283969 - head/lib/libutil Message-ID: <20150603215841.GF32562@ivaldir.etoilebsd.net> References: <201506032048.t53KmSCf074619@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Wtrm9ATX0sn6fFKv" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 21:58:46 -0000 --Wtrm9ATX0sn6fFKv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 04, 2015 at 12:51:46AM +0300, Sergey Kandaurov wrote: > On 3 June 2015 at 23:48, Baptiste Daroussin wrote: > > Author: bapt > > Date: Wed Jun 3 20:48:28 2015 > > New Revision: 283969 > > URL: https://svnweb.freebsd.org/changeset/base/283969 > > > > Log: > > Add a pw_mkdb2(3) function which does the same thing as pw_mkdb(3) ex= cept > > it takes a new argument allowing to specify the endianness of the dat= abase > > to generate > > >=20 > Why not change pw_mkdb()? Is it used outside of the project? >=20 Because that would change the ABI of libutil and it is not a private librar= y aka we are supposed to maintain ABI compatibility as we do not know if it is us= ed or not externally to the project. I care about the ABI because I have made this change in order to use it in pw(8) and MFC it to stable/10 before 10.2. libutil is not versionned so this is the only way to not break the ABI. Exc= ept if someone has a better idea than I do. Best regards, Bapt --Wtrm9ATX0sn6fFKv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlVveJEACgkQ8kTtMUmk6EzviACgsPTwWtjKbdgBy1eoW0yzp07U nYgAn1/+XXfW0AfV14Zg9HYFfE5isAv/ =ipb9 -----END PGP SIGNATURE----- --Wtrm9ATX0sn6fFKv--