svn commit: r268494 - in head: lib/libsbuf sys/kern sys/sys
Bryan Drewery
bdrewery at FreeBSD.org
Fri Jul 18 23:47:24 UTC 2014
On 2014-07-10 08:08, Pietro Cerutti wrote:
> Author: gahr (ports committer)
> Date: Thu Jul 10 13:08:51 2014
> New Revision: 268494
> URL: http://svnweb.freebsd.org/changeset/base/268494
>
> Log:
> Implement Short/Small String Optimization in SBUF(9) and change
> lengths and
> positions in the API from ssize_t and int to size_t.
>
> CR: D388
> Approved by: des, bapt
>
> Modified:
> head/lib/libsbuf/Makefile
> head/sys/kern/subr_sbuf.c
> head/sys/sys/sbuf.h
>
> Modified: head/lib/libsbuf/Makefile
> ==============================================================================
> --- head/lib/libsbuf/Makefile Thu Jul 10 13:04:52 2014 (r268493)
> +++ head/lib/libsbuf/Makefile Thu Jul 10 13:08:51 2014 (r268494)
> @@ -4,7 +4,7 @@ LIB= sbuf
> SHLIBDIR?= /lib
> SRCS= subr_sbuf.c
>
> -SHLIB_MAJOR = 6
> +SHLIB_MAJOR = 7
>
> SYMBOL_MAPS= ${.CURDIR}/Symbol.map
> VERSION_DEF= ${.CURDIR}/Version.def
>
We have symbol versioning in libsbuf. Shouldn't need to bump the
version. Just need to add a compat function for everything. It would be
a lot of work, but bumping for ssize_t->size_t seems gratuitous to me.
--
Regards,
Bryan Drewery
More information about the svn-src-all
mailing list