BUG: On windows there are problems when opening file as ascii
This commit is contained in:
parent
88a9cb9fa5
commit
afb83a7d44
@ -625,7 +625,7 @@ bool cmCTestSubmitHandler::SubmitUsingXMLRPC(const cmStdString& localprefix,
|
|||||||
}
|
}
|
||||||
|
|
||||||
size_t fileSize = st.st_size;
|
size_t fileSize = st.st_size;
|
||||||
FILE* fp = fopen(local_file.c_str(), "r");
|
FILE* fp = fopen(local_file.c_str(), "rb");
|
||||||
if ( !fp )
|
if ( !fp )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user