Add three new pkg_printf() formats:
modified libpkg/pkg_printf.c
@@ -95,8 +95,8 @@
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -105,7 +105,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -147,9 +147,7 @@
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -453,6 +451,15 @@ static const struct pkg_printf_fmt fmt[] = {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -489,6 +496,15 @@ static const struct pkg_printf_fmt fmt[] = {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -704,6 +720,15 @@ static const struct pkg_printf_fmt fmt[] = {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1285,6 +1310,19 @@ format_option_value(struct sbuf *sbuf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1351,6 +1389,19 @@ format_user_uidstr(struct sbuf *sbuf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1688,6 +1739,19 @@ format_version(struct sbuf *sbuf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg_printf.h
@@ -105,10 +105,12 @@ typedef enum _fmt_code_t {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -133,6 +135,7 @@ typedef enum _fmt_code_t {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -186,10 +189,12 @@ _static struct sbuf *format_message(struct sbuf *, const void *, struct percent_
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -209,6 +214,7 @@ _static struct sbuf *format_architecture(struct sbuf *, const void *, struct per
|
|
|
|
|
|
| + | |
|
|
|
|
|