Fix various portability issues for struct stat
modified libpkg/pkg_add.c
@@ -241,6 +241,30 @@ set_attrs(int fd, char *path, mode_t perm, uid_t uid, gid_t gid,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -260,10 +284,7 @@ do_extract_dir(struct pkg* pkg, struct archive *a __unused, struct archive_entry
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -286,6 +307,7 @@ do_extract_symlink(struct pkg *pkg, struct archive *a __unused, struct archive_e
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -308,9 +330,11 @@ do_extract_symlink(struct pkg *pkg, struct archive *a __unused, struct archive_e
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -361,6 +385,7 @@ do_extract_regfile(struct pkg *pkg, struct archive *a, struct archive_entry *ae,
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -422,9 +447,11 @@ do_extract_regfile(struct pkg *pkg, struct archive *a, struct archive_entry *ae,
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|