Rename _FAILED events to _ERROR and remove duplicate PKG_EVENT_DB_OPEN_ERROR.
modified libpkg/fetch.c
@@ -40,7 +40,7 @@ pkg_fetch_file(const char *url, const char *dest, void *data, fetch_cb cb)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -71,7 +71,7 @@ pkg_fetch_file(const char *url, const char *dest, void *data, fetch_cb cb)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -110,7 +110,7 @@ pkg_fetch_buffer(const char *url, char **buffer, void *data, fetch_cb cb)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -138,7 +138,7 @@ pkg_fetch_buffer(const char *url, char **buffer, void *data, fetch_cb cb)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/packing.c
@@ -32,7 +32,7 @@ packing_init(struct packing **pack, const char *path, pkg_formats format)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg.c
@@ -15,7 +15,7 @@ int
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg.h
@@ -584,19 +584,18 @@ typedef enum {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_create_repo.c
@@ -77,7 +77,7 @@ pkg_create_repo(char *path, void (progress)(struct pkg *pkg, void *data), void *
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -89,7 +89,7 @@ pkg_create_repo(char *path, void (progress)(struct pkg *pkg, void *data), void *
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -121,7 +121,7 @@ pkg_create_repo(char *path, void (progress)(struct pkg *pkg, void *data), void *
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -151,7 +151,7 @@ pkg_create_repo(char *path, void (progress)(struct pkg *pkg, void *data), void *
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_event.c
@@ -10,30 +10,30 @@ pkg_event_argument_check(pkg_event_t ev, int argc)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -59,17 +59,17 @@ libpkg_handle_event(pkg_event_t ev, void **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -79,7 +79,7 @@ libpkg_handle_event(pkg_event_t ev, void **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -89,14 +89,14 @@ libpkg_handle_event(pkg_event_t ev, void **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_repo.c
@@ -32,7 +32,7 @@ pkg_repo_fetch(struct pkg *pkg, void *data, fetch_cb cb)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_util.c
@@ -84,7 +84,7 @@ file_to_buffer(const char *path, char **buffer, off_t *sz)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkgdb.c
@@ -252,7 +252,7 @@ pkgdb_open(struct pkgdb **db, pkgdb_t type)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -345,7 +345,7 @@ pkgdb_it_new(struct pkgdb *db, sqlite3_stmt *s, int type)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|