+ Reversed setup of stdio and arguments to fix bug #3962

git-svn-id: trunk@114 -
This commit is contained in:
michael 2005-05-25 21:47:52 +00:00
parent d438530088
commit aea4d56d46
3 changed files with 6 additions and 6 deletions

View File

@ -246,12 +246,12 @@ Begin
{ Setup heap } { Setup heap }
InitHeap; InitHeap;
SysInitExceptions; SysInitExceptions;
{ Arguments }
SetupCmdLine;
{ Setup stdin, stdout and stderr } { Setup stdin, stdout and stderr }
SysInitStdIO; SysInitStdIO;
{ Reset IO Error } { Reset IO Error }
InOutRes:=0; InOutRes:=0;
{ Arguments }
SetupCmdLine;
{ threading } { threading }
InitSystemThreads; InitSystemThreads;
{$ifdef HASVARIANT} {$ifdef HASVARIANT}

View File

@ -234,11 +234,11 @@ Begin
{ Setup heap } { Setup heap }
InitHeap; InitHeap;
SysInitExceptions; SysInitExceptions;
{ Setup stdin, stdout and stderr }
SysInitStdIO;
{ Arguments } { Arguments }
SetupCmdLine; SetupCmdLine;
SysInitExecPath; SysInitExecPath;
{ Setup stdin, stdout and stderr }
SysInitStdIO;
{ Reset IO Error } { Reset IO Error }
InOutRes:=0; InOutRes:=0;
{ threading } { threading }

View File

@ -217,12 +217,12 @@ Begin
{ Setup heap } { Setup heap }
InitHeap; InitHeap;
SysInitExceptions; SysInitExceptions;
{ Arguments }
SetupCmdLine;
{ Setup stdin, stdout and stderr } { Setup stdin, stdout and stderr }
SysInitStdIO; SysInitStdIO;
{ Reset IO Error } { Reset IO Error }
InOutRes:=0; InOutRes:=0;
{ Arguments }
SetupCmdLine;
InitSystemThreads; InitSystemThreads;
{$ifdef HASVARIANT} {$ifdef HASVARIANT}
initvariantmanager; initvariantmanager;