Skip to content

Commit

Permalink
Fix CRLF issue for override files
Browse files Browse the repository at this point in the history
See ticket 3602
  • Loading branch information
lochel committed Feb 22, 2016
1 parent 14d8735 commit 3cd6f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimulationRuntime/c/simulation/simulation_input_xml.c
Expand Up @@ -907,7 +907,7 @@ void doOverride(omc_ModelInput *mi, MODEL_DATA *modelData, const char *override,
/* read override values from file */
infoStreamPrint(LOG_SOLVER, 0, "read override values from file: %s", overrideFile);

infile = fopen(overrideFile, "r");
infile = fopen(overrideFile, "rb");
if (0==infile) {
throwStreamPrint(NULL, "simulation_input_xml.c: could not open the file given to -overrideFile=%s", overrideFile);
}
Expand Down

0 comments on commit 3cd6f31

Please sign in to comment.