summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-02 13:35:51 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-02 13:35:51 (GMT)
commitafb83a7d44aedadee549de128ad021a9ce81c90d (patch)
treea8bcdee57ecfa6fdeb1004d7bfda5a178a64a1d6 /Source
parent88a9cb9fa5e5ebd8640c45a4a1c095ed784d84db (diff)
downloadCMake-afb83a7d44aedadee549de128ad021a9ce81c90d.zip
CMake-afb83a7d44aedadee549de128ad021a9ce81c90d.tar.gz
CMake-afb83a7d44aedadee549de128ad021a9ce81c90d.tar.bz2
BUG: On windows there are problems when opening file as ascii
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestSubmitHandler.cxx2
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;