BUG: On windows there are problems when opening file as ascii

This commit is contained in:
Andy Cedilnik 2005-06-02 09:35:51 -04:00
parent 88a9cb9fa5
commit afb83a7d44
1 changed files with 1 additions and 1 deletions

View File

@ -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;