The variable named 'disk' inside the loop was hiding the variable named
'disk' at the outer level. The outer variable was never used, get rid
of it.
Move the call to archive_read_disk_set_standard_lookup(disk) inside the
loop so that it Does What It Should.
* An error message should not be printed if EOF is reached in copy_data. However
an error message should be printed if any other error is encountered.
* A newline should be printed in extract if an error message was printed.
* If a file name is printed in extract (verbose operation) it should be followed
by a space incase there is an error message.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
archive_write_finish to archive_write_free. Update all clients,
tests, and documentation to use the new names exclusively. (Though
I've not yet run a global search-and-replace against the Wiki. I'll
do that shortly.)
I've preserved the old names as aliases, scheduled to be removed with
libarchive 4.x, so there is no immediate impact to existing code from
this change.
SVN-Revision: 1891
user/group lookups by default and an option to suppress them. With
all of the suppression macros, this compiles to about the same size as
does examples/untar.c.
SVN-Revision: 1398
commentary, which hasn't really been updated since 2006 or so. In
particular, I went back and rechecked the sizes on modern FreeBSD and
found that things have bloated quite a bit: statically compiled,
untar.c is now about 25% larger than hello.c, where it used to be
almost 25% smaller.
SVN-Revision: 1396