login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <commits@...>
Date: Wednesday, May 14, 2008 - 11:59 pm

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...
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
cvs commit: src/lib/libc/stdio vsnprintf.c, Matthew Dillon, (Wed May 14, 11:59 pm)
speck-geostationary