Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/common/lib/libutil
Module Name: src
Committed By: christos
Date: Tue Dec 16 22:33:11 UTC 2008
Added Files:
src/common/lib/libutil: Makefile.inc snprintb.c
Log Message:
share with kernel; replaces bitmask_snprintf which was very broken:
- subtracted one from len without checking if len was 0
- checked for a minimum buffer size
- arguments order was inconsistent with other printf like functions
- no way to tell if it overflowed
To generate a diff of this commit:
cvs rdiff -r0 -r1.1 src/common/lib/libutil/Makefile.inc \
src/common/lib/libutil/snprintb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index