Skip to content

Commit

Permalink
- fflush the standard error stream as it may display differently on W…
Browse files Browse the repository at this point in the history
…indows vs. Linux.

- change the CyclicPerm.mos test to sync with the new changes.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@3750 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Nov 26, 2008
1 parent ec3db34 commit c6c0f85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Compiler/runtime/printimpl.c
Expand Up @@ -83,6 +83,7 @@ RML_BEGIN_LABEL(Print__printErrorBuf)
}

fprintf(stderr, "%s", str);
fflush(stderr);

RML_TAILCALLK(rmlSC);
}
Expand Down Expand Up @@ -200,6 +201,7 @@ RML_BEGIN_LABEL(Print__writeBuf)
}

fprintf(file,"%s",buf);
fflush(file);

if (fclose(file) != 0) {
/* RMLFAIL */
Expand Down

0 comments on commit c6c0f85

Please sign in to comment.