Don't spin forever on an out-of-context problem: instead, pass the incorrect format code through unprocessed.
modified libpkg/pkg_printf.c
@@ -1842,10 +1842,12 @@ parse_format(const char *f, unsigned context, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -2123,8 +2125,9 @@ process_format_trailer(struct sbuf *sbuf, struct percent_esc *p,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified pkg/utils.c
@@ -405,7 +405,7 @@ print_info(struct pkg * const pkg, unsigned int options)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|