Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 2015 23:58:41 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Sergey Kandaurov <pluknet@freebsd.org>
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>
In-Reply-To: <CAE-mSOLvc-ofOw7wMXBNqufePJHzJOyRjD2hYFnJKfp2%2BJDKTw@mail.gmail.com>
References:  <201506032048.t53KmSCf074619@svn.freebsd.org> <CAE-mSOLvc-ofOw7wMXBNqufePJHzJOyRjD2hYFnJKfp2%2BJDKTw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <bapt@freebsd.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150603215841.GF32562>