Create a liclog_val() output function (maintaining the same layering as for other output types) even though there's only one place it would get called from.
modified libpkg/pkg_printf.c
@@ -26,6 +26,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -275,17 +276,6 @@ static const struct pkg_printf_fmt fmt[] = {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -956,33 +946,9 @@ format_license_logic(struct sbuf *sbuf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -1391,6 +1357,10 @@ int_val(struct sbuf *sbuf, int64_t value, struct percent_esc *p)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1408,12 +1378,12 @@ bool_val(struct sbuf *sbuf, bool value, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1424,7 +1394,19 @@ mode_val(struct sbuf *sbuf, mode_t mode, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1436,6 +1418,42 @@ mode_val(struct sbuf *sbuf, mode_t mode, struct percent_esc *p)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg_printf.h
@@ -1,4 +1,4 @@
| - | |
| + | |
|
|
|
|
|
@@ -24,7 +24,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -205,6 +205,7 @@ _static struct sbuf *string_val(struct sbuf *, const char *,
|
|
|
|
|
|
| + | |
|
|
|
|
|