Fix some border cases.
modified libpkg/pkg_add.c
@@ -108,7 +108,6 @@ do_extract(struct archive *a, struct archive_entry *ae, const char *location,
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified src/event.c
@@ -64,12 +64,13 @@ static char *progress_message = NULL;
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -264,7 +265,7 @@ event_sandboxed_get_string(pkg_sandbox_cb func, char **result, int64_t *len,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -276,7 +277,8 @@ draw_progressbar(int64_t current, int64_t total)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -292,11 +294,14 @@ draw_progressbar(int64_t current, int64_t total)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -624,6 +629,7 @@ event_callback(void *data, struct pkg_event *ev)
|
|
|
|
|
|
| + | |
|
|
|
|
|