Skip to content

Commit 8ca6eb2

Browse files
committed
- Don't append errors to the error file. Always write the current import errors.
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10123 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent b6a6c1b commit 8ca6eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FMI/import/source/moGenerator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ int main(int argc, char *argv[]){
960960
// end
961961

962962
// Creating log file
963-
errLogFile = fopen("fmuImportError.log","a+");
963+
errLogFile = fopen("fmuImportError.log","w");
964964
if(!errLogFile){
965965
printf("#### %s, %s, %d, : Error: Creating file fmuImportError.log failed...\n",__DATE__,__TIME__,__LINE__);
966966
exit(EXIT_FAILURE);

0 commit comments

Comments
 (0)