diff options
-rw-r--r-- | Source/CTest/cmCTestSubmitHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestSubmitHandler.cxx b/Source/CTest/cmCTestSubmitHandler.cxx index 4b41c25..2372228 100644 --- a/Source/CTest/cmCTestSubmitHandler.cxx +++ b/Source/CTest/cmCTestSubmitHandler.cxx @@ -625,7 +625,7 @@ bool cmCTestSubmitHandler::SubmitUsingXMLRPC(const cmStdString& localprefix, } size_t fileSize = st.st_size; - FILE* fp = fopen(local_file.c_str(), "r"); + FILE* fp = fopen(local_file.c_str(), "rb"); if ( !fp ) { return false; |