query: fix multiline SIGBUS on case like %dn with no deps
modified libpkg/pkg_printf.c
@@ -964,7 +964,7 @@ format_annotation_name(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -975,7 +975,7 @@ format_annotation_value(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1122,7 +1122,7 @@ format_directory_group(xstring *buf, const void *data,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1133,7 +1133,7 @@ format_directory_path(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1157,7 +1157,7 @@ format_directory_user(xstring *buf, const void *data,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1214,7 +1214,7 @@ format_file_group(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1225,7 +1225,7 @@ format_file_path(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1247,7 +1247,7 @@ format_file_sha256(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1257,7 +1257,7 @@ xstring *
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1268,7 +1268,7 @@ format_file_user(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1498,7 +1498,7 @@ format_option_name(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1509,7 +1509,7 @@ format_option_value(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1520,7 +1520,7 @@ format_option_default(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1531,7 +1531,7 @@ format_option_description(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1542,7 +1542,7 @@ format_altabi(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1553,7 +1553,7 @@ format_repo_path(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1620,7 +1620,7 @@ format_old_version(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1632,7 +1632,7 @@ format_int_checksum(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1732,7 +1732,7 @@ format_comment(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1790,7 +1790,7 @@ format_dependency_name(xstring *buf, const void *data,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1802,7 +1802,7 @@ format_dependency_origin(xstring *buf, const void *data,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1814,7 +1814,7 @@ format_dependency_version(xstring *buf, const void *data,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1825,7 +1825,7 @@ format_description(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1862,7 +1862,7 @@ format_maintainer(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1873,7 +1873,7 @@ format_name(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1884,7 +1884,7 @@ format_origin(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1895,7 +1895,7 @@ format_prefix(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1906,7 +1906,7 @@ format_architecture(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1980,7 +1980,7 @@ format_version(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1991,7 +1991,7 @@ format_checksum(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2002,7 +2002,7 @@ format_home_url(xstring *buf, const void *data, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2307,7 +2307,7 @@ string_val(xstring *buf, const char *str, struct percent_esc *p)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/query.c
@@ -488,7 +488,7 @@ print_query(struct pkg *pkg, char *qstr, char multiline)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|