frr/lib/printf
David Lamparter 2d9a4e2931 lib: allow discerning unspec width in printfrr ext
With 0 currently the default value for the width specifier, it's not
possible to discern that from a %*p where 0 was passed as the length
parameter.  Use -1 to allow for that.

Signed-off-by: David Lamparter <equinox@diac24.net>
2021-03-30 22:32:59 +02:00
..
glue.c lib: put printfrr extension args into struct 2021-03-30 22:32:55 +02:00
printf-pos.c lib/printf: disable %n specifier 2021-02-01 18:33:18 +01:00
printfcommon.h lib/printf: integrate 2019-06-03 16:44:51 +02:00
printflocal.h lib: put printfrr extension args into struct 2021-03-30 22:32:55 +02:00
README lib: import FreeBSD's printf 2019-06-03 16:43:11 +02:00
vfprintf.c lib: allow discerning unspec width in printfrr ext 2021-03-30 22:32:59 +02:00

This is the printf implementation from FreeBSD.  It was imported on 2019-05-12,
from SVN revision 347514 (but the code hadn't been touched for 2 years before
that.)

Please don't reindent or otherwise mangle the files to make importing fixes
easy (not that there are significant changes likely to happen...)

The changes to this code are published under FreeBSD's license as listed in the
file headers.  If you change license, please make that as obvious as possible.