diff options
author | kientzle <kientzle@FreeBSD.org> | 2006-09-05 05:59:46 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2006-09-05 05:59:46 +0000 |
commit | b70eb6239fc6c06b97d3bc78e4e84e977147c7b3 (patch) | |
tree | e9e5403d1ee6b34e31b33c6371840038b4f4874e /lib/libarchive/archive_read_open_filename.c | |
parent | 0eaa9fd1daf7600660f11f644e7adf331290e11d (diff) | |
download | FreeBSD-src-b70eb6239fc6c06b97d3bc78e4e84e977147c7b3.zip FreeBSD-src-b70eb6239fc6c06b97d3bc78e4e84e977147c7b3.tar.gz |
Some minor corrections:
* Expose functions for setting the "skip file" dev/ino information
* Expose functions for setting/querying the block size on reads
* Correctly propagate errors out of archive_read_close/archive_write_close
* Update manpage with information about new functions
Diffstat (limited to 'lib/libarchive/archive_read_open_filename.c')
-rw-r--r-- | lib/libarchive/archive_read_open_filename.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/archive_read_open_filename.c b/lib/libarchive/archive_read_open_filename.c index efdd438..598e19d 100644 --- a/lib/libarchive/archive_read_open_filename.c +++ b/lib/libarchive/archive_read_open_filename.c @@ -137,7 +137,7 @@ file_skip(struct archive *a, void *client_data, size_t request) { struct read_file_data *mine = client_data; off_t old_offset, new_offset; - + /* Reduce request to the next smallest multiple of block_size */ request = (request / mine->block_size) * mine->block_size; /* |