From owner-svn-src-head@FreeBSD.ORG Fri Jul 18 23:47:23 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA463B2 for ; Fri, 18 Jul 2014 23:47:23 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C01E42CF9 for ; Fri, 18 Jul 2014 23:47:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id s6INlNVO077285 for ; Fri, 18 Jul 2014 23:47:23 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id s6INlNka077282 for svn-src-head@freebsd.org; Fri, 18 Jul 2014 23:47:23 GMT (envelope-from bdrewery) Received: (qmail 27370 invoked from network); 18 Jul 2014 18:47:21 -0500 Received: from unknown (HELO roundcube.xk42.net) (10.10.5.5) by sweb.xzibition.com with SMTP; 18 Jul 2014 18:47:21 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 18 Jul 2014 18:47:20 -0500 From: Bryan Drewery To: Pietro Cerutti Subject: Re: svn commit: r268494 - in head: lib/libsbuf sys/kern sys/sys Organization: FreeBSD In-Reply-To: <201407101308.s6AD8pbR080041@svn.freebsd.org> References: <201407101308.s6AD8pbR080041@svn.freebsd.org> Message-ID: X-Sender: bdrewery@FreeBSD.org User-Agent: Roundcube Webmail/1.0.1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, owner-src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 23:47:23 -0000 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