+ 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 }
InitHeap;
SysInitExceptions;
{ Arguments }
SetupCmdLine;
{ Setup stdin, stdout and stderr }
SysInitStdIO;
{ Reset IO Error }
InOutRes:=0;
{ Arguments }
SetupCmdLine;
{ threading }
InitSystemThreads;
{$ifdef HASVARIANT}

View File

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

View File

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