Bläddra i källkod

Show the current file when there is a tar error

Bill Hoffman 16 år sedan
förälder
incheckning
28664b96f7
1 ändrade filer med 2 tillägg och 0 borttagningar
  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(): ",
                              archive_error_string(a));
+        cmSystemTools::Error("Curren file:", 
+                             archive_entry_pathname(entry));
         }
       else 
         {