mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 10:08:41 +00:00
![]() Allowing printfrr extensions to directly write to the output buffer has a few advantages: - there is no arbitrary length limit imposed (previously 64) - the output doesn't need to be copied another time - the extension can directly use bprintfrr() to put together pieces The downside is that the theoretical length (regardless of available buffer space) must be computed correctly. Extended unit tests to test these paths a bit more thoroughly. Signed-off-by: David Lamparter <equinox@diac24.net> |
||
---|---|---|
.. | ||
glue.c | ||
printf-pos.c | ||
printfcommon.h | ||
printflocal.h | ||
README | ||
vfprintf.c |
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.