Bläddra i källkod

* Flush all StdIO output files

git-svn-id: trunk@2985 -
peter 19 år sedan
förälder
incheckning
9381c9360e
1 ändrade filer med 5 tillägg och 0 borttagningar
  1. 5 0
      rtl/inc/system.inc

+ 5 - 0
rtl/inc/system.inc

@@ -668,6 +668,11 @@ Begin
      dump_stack(stdout,ErrorBase);
      Writeln(stdout,'');
    End;
+  { Make sure that all output is written to the redirected file }
+  Flush(Output);
+  Flush(ErrOutput);
+  Flush(StdOut);
+  Flush(StdErr);
 End;