diff options
author | Timo Teräs <timo.teras@iki.fi> | 2010-10-08 15:36:54 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2010-10-08 15:36:54 +0300 |
commit | 19419f1a88285a0dee53bdf49201c4d3d4cbf19f (patch) | |
tree | f8221675060919509e2bef32d2fb5b68df05cddd /src/apk_archive.h | |
parent | a31948ae2640986b8a012b20e2a188ce0fea2cc2 (diff) | |
download | apk-tools-19419f1a88285a0dee53bdf49201c4d3d4cbf19f.tar.gz apk-tools-19419f1a88285a0dee53bdf49201c4d3d4cbf19f.tar.bz2 apk-tools-19419f1a88285a0dee53bdf49201c4d3d4cbf19f.tar.xz apk-tools-19419f1a88285a0dee53bdf49201c4d3d4cbf19f.zip |
io, db: id cache should be specific to database root, not system root
Otherwise we end up using wrong uid/gid mappings when doing install
to alternate system root. Fixes #434.
Diffstat (limited to 'src/apk_archive.h')
-rw-r--r-- | src/apk_archive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_archive.h b/src/apk_archive.h index f1b5aaf..ff4fb48 100644 --- a/src/apk_archive.h +++ b/src/apk_archive.h @@ -22,7 +22,7 @@ typedef int (*apk_archive_entry_parser)(void *ctx, int apk_tar_parse(struct apk_istream *, apk_archive_entry_parser parser, void *ctx, - int soft_checksums); + int soft_checksums, struct apk_id_cache *); int apk_tar_write_entry(struct apk_ostream *, const struct apk_file_info *ae, const char *data); int apk_tar_write_padding(struct apk_ostream *, const struct apk_file_info *ae); |