On Mon, May 16, 2011 at 04:18:40PM +0000, Poul-Henning Kamp wrote:
> Author: phk
> Date: Mon May 16 16:18:40 2011
> New Revision: 221993
> URL: http://svn.freebsd.org/changeset/base/221993
> 
> Log:
>   Change the length quantities of sbufs to be ssize_t rather than int.
>   
>   Constify a couple of arguments.

> Modified: head/sys/sys/sbuf.h
> ==============================================================================
> --- head/sys/sys/sbuf.h       Mon May 16 15:59:50 2011        (r221992)
> +++ head/sys/sys/sbuf.h       Mon May 16 16:18:40 2011        (r221993)
> @@ -44,8 +44,8 @@ struct sbuf {
>       sbuf_drain_func *s_drain_func;  /* drain function */
>       void            *s_drain_arg;   /* user-supplied drain argument */
>       int              s_error;       /* current error code */
> -     int              s_size;        /* size of storage buffer */
> -     int              s_len;         /* current length of string */
> +     ssize_t          s_size;        /* size of storage buffer */
> +     ssize_t          s_len;         /* current length of string */
struct sbuf is exposed to the libsubf.so consumers.
I think that libsbuf.so version shall be bumped (since no symver
compat can be provided, due to lack of versioning for libsbuf).

The bump was also needed after the r212367. Lets do one for two changes.

Attachment: pgpkH3lSrCXsw.pgp
Description: PGP signature

Reply via email to