Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2011 06:36:32 +0000 (UTC)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern subr_sbuf.c
Message-ID:  <201105170636.p4H6aoXw002606@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2011-05-17 06:36:32 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_sbuf.c 
  Log:
  SVN rev 222004 on 2011-05-17 06:36:32Z by phk
  
  Don't expect PAGE_SIZE to exist on all platforms (It is a pretty arbitrary
  choice of default size in the first place)
  
  Reverse the order of arguments to the internal static sbuf_put_byte()
  function to match everything else in this file.
  
  Move sbuf_putc_func() inside the kernel version of sbuf_vprintf
  where it belongs.
  
  sbuf_putc() incorrectly used sbuf_putc_func() which supress NUL
  characters, it should use sbuf_put_byte().
  
  Make sbuf_finish() return -1 on error.
  
  Minor stylistic nits fixed.
  
  Revision  Changes    Path
  1.45      +33 -27    src/sys/kern/subr_sbuf.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105170636.p4H6aoXw002606>