Fix size calculation under capsicum sandbox by using relative path
modified src/clean.c
@@ -70,11 +70,12 @@ typedef kvec_t(char *) dl_list;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -90,7 +91,8 @@ add_to_dellist(int fd, dl_list *dl, const char *path)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -203,8 +205,9 @@ extract_filename_sum(const char *fname, char sum[])
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -237,9 +240,9 @@ recursive_analysis(int fd, struct pkgdb *db, const char *dir, dl_list *dl,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -249,7 +252,7 @@ recursive_analysis(int fd, struct pkgdb *db, const char *dir, dl_list *dl,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -272,7 +275,7 @@ recursive_analysis(int fd, struct pkgdb *db, const char *dir, dl_list *dl,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -394,7 +397,8 @@ exec_clean(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|