diff options
author | David Cole <david.cole@kitware.com> | 2012-04-25 18:04:52 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-04-25 18:04:52 (GMT) |
commit | 7e4c11e0fca5cdddf18f778760fa659982382db4 (patch) | |
tree | e8d39287a588de830a7db4d6c574a73e33cdec2d /Source | |
parent | 91f83347d35e970896aaa9200cf68cdd0ea413ac (diff) | |
parent | b3c77889e43176547b37d392451171acd7860650 (diff) | |
download | CMake-7e4c11e0fca5cdddf18f778760fa659982382db4.zip CMake-7e4c11e0fca5cdddf18f778760fa659982382db4.tar.gz CMake-7e4c11e0fca5cdddf18f778760fa659982382db4.tar.bz2 |
Merge topic 'compile-XL-v6'
b3c7788 Workaround IBM XL v6 streams seekg bug (#13149)
09a91c6 libarchive: Avoid 'inline' keyword on XL C v6 (#13148)
a8995eb libarchive: Avoid trailing , in enum for XL v6 (#13148)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmFileCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 3f14fa1..d69431e 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -300,7 +300,7 @@ bool cmFileCommand::HandleReadCommand(std::vector<std::string> const& args) offset = atoi(offsetArg.GetCString()); } - file.seekg(offset); + file.seekg(offset, std::ios::beg); // explicit ios::beg for IBM VisualAge 6 std::string output; |