mirror of
https://github.com/reactos/CMake.git
synced 2025-02-09 05:16:07 +00:00
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;
|
||||
FILE* fp = fopen(local_file.c_str(), "r");
|
||||
FILE* fp = fopen(local_file.c_str(), "rb");
|
||||
if ( !fp )
|
||||
{
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user