summaryrefslogtreecommitdiff
path: root/libarchive/archive_write.3
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2011-03-17 23:47:11 -0400
committerTim Kientzle <kientzle@gmail.com>2011-03-17 23:47:11 -0400
commit495b28cf8bd3d5ac5f22a8f05ea283219c80138c (patch)
tree6a8f014d4eb5d2f0648238aadf1647388fd6cace /libarchive/archive_write.3
parent00df48cd763d1eaf95799b8cabb86706161bf15e (diff)
downloadlibarchive-495b28cf8bd3d5ac5f22a8f05ea283219c80138c.tar.gz
Issue 149: Correct arguments archive_write_set_bytes_per_block.
Thanks to Roman Neuhauser. SVN-Revision: 3024
Diffstat (limited to 'libarchive/archive_write.3')
-rw-r--r--libarchive/archive_write.36
1 files changed, 1 insertions, 5 deletions
diff --git a/libarchive/archive_write.3 b/libarchive/archive_write.3
index edfb75ca..83cfb8c1 100644
--- a/libarchive/archive_write.3
+++ b/libarchive/archive_write.3
@@ -147,11 +147,7 @@ object suitable for writing a tar archive.
Sets the block size used for writing the archive data.
Every call to the write callback function, except possibly the last one, will
use this value for the length.
-The third parameter is a boolean that specifies whether or not the final block
-written will be padded to the full block size.
-If it is zero, the last block will not be padded.
-If it is non-zero, padding will be added both before and after compression.
-The default is to use a block size of 10240 bytes and to pad the last block.
+The default is to use a block size of 10240 bytes.
Note that a block size of zero will suppress internal blocking
and cause writes to be sent directly to the write callback as they occur.
.It Fn archive_write_get_bytes_per_block