Browse Source

Merged revisions 2985 via svnmerge from
http://[email protected]/svn/fpc/trunk

........
r2985 | peter | 2006-03-20 10:56:00 +0100 (Mon, 20 Mar 2006) | 2 lines

* Flush all StdIO output files

........

git-svn-id: branches/fixes_2_0@2986 -

peter 19 năm trước cách đây
mục cha
commit
605623fa9e
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

@@ -661,6 +661,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;