summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 5fcadda..d211454 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1821,6 +1821,7 @@ bool cmSystemTools::CreateTar(const char* outFileName,
while (len > 0)
{
int wlen = archive_write_data(a, buff, len);
+#if 0
if(wlen != len)
{
cmOStringStream error;
@@ -1832,6 +1833,7 @@ bool cmSystemTools::CreateTar(const char* outFileName,
);
return false;
}
+#endif
len = fread(buff, 1, sizeof(buff), file);
}
// close the file and free the entry