Add new %x code for pkgsize (size of package tarball)
modified libpkg/pkg_printf.c
@@ -155,7 +155,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -734,15 +734,6 @@ static const struct pkg_printf_fmt fmt[] = {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -761,6 +752,24 @@ static const struct pkg_printf_fmt fmt[] = {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1737,6 +1746,32 @@ format_checksum(struct sbuf *sbuf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1755,18 +1790,6 @@ format_short_checksum(struct sbuf *sbuf, const void *data, struct percent_esc *p
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified libpkg/private/pkg_printf.h
@@ -138,6 +138,7 @@ typedef enum _fmt_code_t {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -216,9 +217,10 @@ _static struct sbuf *format_requirements(struct sbuf *, const void *, struct per
|
|
|
|
|
|
| - | |
|
|
|
|
| + | |
| + | |
|
|
|
|
|