diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-21 22:32:55 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-21 22:32:55 (GMT) |
commit | 5cd08d0563c808243cfbac63df7aa57b9a4d9b7b (patch) | |
tree | 2f95f7b28f1e69f431378997ffe044a5ed03146a /Source/cmSystemTools.cxx | |
parent | 513d48c5ea81ffd7ad53965f745a74a7a50366c9 (diff) | |
download | CMake-5cd08d0563c808243cfbac63df7aa57b9a4d9b7b.zip CMake-5cd08d0563c808243cfbac63df7aa57b9a4d9b7b.tar.gz CMake-5cd08d0563c808243cfbac63df7aa57b9a4d9b7b.tar.bz2 |
BUG: fix copy file for HP
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index fa639e3..080efcd 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -884,7 +884,7 @@ void cmSystemTools::cmCopyFile(const char* source, // Final line, but with no newline. fout.write(buffer, count); } - else if(fin.fail()) + else if ( count == buffer_length - 1 ) { // Part of a line longer than our buffer, clear the fail bit of // the stream so that we can continue. |