| Age | Commit message (Collapse) | Author |
|
Satisfy checkpatch.pl requirements (check for sizeof without parenthesis)
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
|
|
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
|
|
All va_copy() calls must have a va_end() call.
Caught by Coverity
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
Some of it has snuck by CI
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
|
|
bcopy is being used in the new printf code. Let's actually
include the proper header for it.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
|
|
reallocarray() is walled behind stupid feature macros on various
platforms and doesn't quite gain us much in that particular use case.
Signed-off-by: David Lamparter <equinox@diac24.net>
|
|
Inspired by the Linux kernel, this allows us to do %pI4 and similar
things.
Signed-off-by: David Lamparter <equinox@diac24.net>
|
|
Signed-off-by: David Lamparter <equinox@diac24.net>
|
|
Signed-off-by: David Lamparter <equinox@diac24.net>
|
|
These are internal to printf(), and symbols starting with __ are
reserved for the compiler/libc.
Signed-off-by: David Lamparter <equinox@diac24.net>
|
|
... we just don't use wchar_t in FRR, no point in having this enabled.
Signed-off-by: David Lamparter <equinox@diac24.net>
|
|
[u]int64_t is the only type in the intX_t family that needs
special-casing for printf since the calling convention may differ
between 32-bit and 64-bit systems.
Adding the L specifier allows us to eschew the gnarly-looking PRIu64.
Signed-off-by: David Lamparter <equinox@diac24.net>
|
|
We're not libc, we can just fall back to snprintf() to avoid all this
low-level float mangling.
Signed-off-by: David Lamparter <equinox@diac24.net>
|
|
remove various FreeBSD specific bits, as well as the entirety of locale
support.
Signed-off-by: David Lamparter <equinox@diac24.net>
|
|
... from current SVN HEAD (not that it has been touched in the past 2
years ...)
Signed-off-by: David Lamparter <equinox@diac24.net>
|