DragonFly commits List (threaded) for 2008-05
DragonFly BSD
DragonFly commits List (threaded) for 2008-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/lib/libc/stdio vsnprintf.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 May 2008 20:59:59 -0700 (PDT)

dillon      2008/05/14 20:59:59 PDT

DragonFly src repository

  Modified files:
    lib/libc/stdio       vsnprintf.c 
  Log:
  The char dummy must be dummy[2] to accomodate a nul terminator when dealing
  with a degenerate buffer size.
  
  Submitted-by: Johannes Hofmann <Johannes.Hofmann@gmx.de>
  Taken-from: FreeBSD
  
  Revision  Changes    Path
  1.9       +4 -2      src/lib/libc/stdio/vsnprintf.c


http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/vsnprintf.c.diff?r1=1.8&r2=1.9&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]