Browse Source

* Flush all StdIO output files

git-svn-id: trunk@2985 -
peter 19 năm trước cách đây
mục cha
commit
9381c9360e
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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;