svn commit: r283969 - head/lib/libutil

Baptiste Daroussin bapt at freebsd.org
Wed Jun 3 21:58:46 UTC 2015


On Thu, Jun 04, 2015 at 12:51:46AM +0300, Sergey Kandaurov wrote:
> On 3 June 2015 at 23:48, Baptiste Daroussin <bapt at 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) except
> >   it takes a new argument allowing to specify the endianness of the database
> >   to generate
> >
> 
> Why not change pw_mkdb()? Is it used outside of the project?
> 
Because that would change the ABI of libutil and it is not a private library aka
we are supposed to maintain ABI compatibility as we do not know if it is used 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. Except
if someone has a better idea than I do.

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20150603/9d4c38c0/attachment.sig>


More information about the svn-src-head mailing list