mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-19 17:51:58 +02:00
* forgot to add CheckInitialStkLen function
* fixed two unitinitialized StackLength variables git-svn-id: trunk@1727 -
This commit is contained in:
parent
a27b87043f
commit
cc2873232f
@ -435,11 +435,16 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
function CheckInitialStkLen(stklen : SizeUInt) : SizeUInt;
|
||||
begin
|
||||
result := stklen;
|
||||
end;
|
||||
{*****************************************************************************
|
||||
SystemUnit Initialization
|
||||
*****************************************************************************}
|
||||
|
||||
Begin
|
||||
StackLength := CheckInitialStkLen(initialstklen);
|
||||
StackBottom := SPtr - StackLength;
|
||||
SigTermHandlerActive := false;
|
||||
NetwareCheckFunction := nil;
|
||||
|
@ -519,6 +519,7 @@ end;
|
||||
|
||||
Begin
|
||||
getCodeAddresses;
|
||||
StackLength := CheckInitialStkLen(initialStkLen);
|
||||
StackBottom := SPtr - StackLength;
|
||||
SigTermHandlerActive := false;
|
||||
NetwareCheckFunction := nil;
|
||||
|
Loading…
Reference in New Issue
Block a user