backup_lib.c: call strrchr() before pkg_open_root and memset
modified libpkg/backup_lib.c
@@ -93,17 +93,18 @@ register_backup(struct pkgdb *db, int fd, const char *path)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -141,6 +142,7 @@ backup_library(struct pkgdb *db, struct pkg *p, const char *path)
|
|
|
|
|
|
| + | |
|
|
|
|
|