]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Split archive_read_extract2 from archive_read_extract 71/head
authorPaul Barker <paul@paulbarker.me.uk>
Sun, 6 Apr 2014 14:48:24 +0000 (15:48 +0100)
committerPaul Barker <paul@paulbarker.me.uk>
Sun, 6 Apr 2014 14:48:24 +0000 (15:48 +0100)
commit9025047842edc1e10508fae711e39d5b5a2a4db7
tree3dd6b2f11d534be12ff91568f837e38b0ffc51a4
parent77b2efc28c87e45464dd459ca3e50d3cb52bf343
Split archive_read_extract2 from archive_read_extract

The function archive_read_extract requires a call to
archive_write_disk_set_standard_lookup but the functions archive_read_extract2
and archive_read_extract_set_progress_callback do not. Therefore, the latter
pair of functions, the internal function __archive_read_get_extract and the
static function copy_data are moved out of archive_read_extract.c into the new
file archive_read_extract2.c.

This ensures that when statically linking, the standard user and group lookup
functions will not be linked into a program unless they are really needed.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Makefile.am
libarchive/archive_read_extract.c
libarchive/archive_read_extract2.c [new file with mode: 0644]