From aa47e5f789d6467037e341e9667547fcc50064ec Mon Sep 17 00:00:00 2001 From: Ciaran McCreesh Date: Sun, 10 Apr 2011 15:49:22 +0100 Subject: Set archive sizes explicitly --- paludis/tar_extras.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/paludis/tar_extras.cc b/paludis/tar_extras.cc index bd4a4f9a9..00f860334 100644 --- a/paludis/tar_extras.cc +++ b/paludis/tar_extras.cc @@ -112,6 +112,7 @@ paludis_tar_extras_add_sym(PaludisTarExtras * const extras, const std::string & archive_entry_copy_pathname(entry, path.c_str()); archive_entry_copy_stat(entry, &st); archive_entry_copy_symlink(entry, dest.c_str()); + archive_entry_set_size(entry, dest.length()); if (ARCHIVE_OK != archive_write_header(extras->archive, entry)) throw MergerError("archive_write_header failed"); -- cgit v1.2.3