svn commit: r268494 - in head: lib/libsbuf sys/kern sys/sys
Pietro Cerutti
gahr at FreeBSD.org
Mon Jul 21 09:07:24 UTC 2014
On 2014-Jul-18, 18:47, Bryan Drewery wrote:
> 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.
The bump was due mainly to the addition of the s_static_buf field to the
sbuf struct.
--
Pietro Cerutti
The FreeBSD Project
gahr at FreeBSD.org
PGP Public Key:
http://gahr.ch/pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20140721/bc425bcc/attachment.sig>
More information about the svn-src-all
mailing list