[file-roller] Compressed files have a minmum size of 10240 bytes
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] Compressed files have a minmum size of 10240 bytes
- Date: Tue, 12 Mar 2013 09:04:48 +0000 (UTC)
commit 107b5defb832064ae0dbec1ad9fb49e5b8234a1f
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Mar 12 10:01:23 2013 +0100
Compressed files have a minmum size of 10240 bytes
libarchive: disable the padding of the last block
[bug #695672]
src/fr-archive-libarchive.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/fr-archive-libarchive.c b/src/fr-archive-libarchive.c
index a48128d..462232c 100644
--- a/src/fr-archive-libarchive.c
+++ b/src/fr-archive-libarchive.c
@@ -1247,6 +1247,7 @@ save_archive_thread (GSimpleAsyncResult *result,
save_data->b = b = archive_write_new ();
_archive_write_set_format_from_context (b, save_data);
archive_write_open (b, save_data, save_data_open, save_data_write, save_data_close);
+ archive_write_set_bytes_in_last_block (b, 1);
a = archive_read_new ();
archive_read_support_filter_all (a);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]