Show the current file when there is a tar error

This commit is contained in:
Bill Hoffman 2009-11-13 16:07:42 -05:00
parent eb7e4498c4
commit 28664b96f7
1 changed files with 2 additions and 0 deletions

View File

@ -2052,6 +2052,8 @@ bool extract_tar(const char* outFileName, bool verbose,
{ {
cmSystemTools::Error("Problem with archive_write_header(): ", cmSystemTools::Error("Problem with archive_write_header(): ",
archive_error_string(a)); archive_error_string(a));
cmSystemTools::Error("Curren file:",
archive_entry_pathname(entry));
} }
else else
{ {