Browse Source

Show the current file when there is a tar error

Bill Hoffman 16 years ago
parent
commit
28664b96f7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/cmSystemTools.cxx

+ 2 - 0
Source/cmSystemTools.cxx

@@ -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 
         {
         {