mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 08:09:29 +02:00
+ 1 byte too much allocated in new_ansiStringastrings.inc
This commit is contained in:
parent
5efb1744bb
commit
77d45d20af
@ -77,7 +77,7 @@ Var
|
||||
P : Pointer;
|
||||
begin
|
||||
{ Also add +1 for a terminating zero }
|
||||
GetMem(P,Len+1+AnsiRecLen);
|
||||
GetMem(P,Len+AnsiRecLen);
|
||||
If P<>Nil then
|
||||
begin
|
||||
PAnsiRec(P)^.Maxlen:=Len; { Maximal length }
|
||||
@ -761,7 +761,10 @@ end;
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.20 1999-04-09 07:33:15 michael
|
||||
Revision 1.21 1999-04-13 09:02:06 michael
|
||||
+ 1 byte too much allocated in new_ansiStringastrings.inc
|
||||
|
||||
Revision 1.20 1999/04/09 07:33:15 michael
|
||||
* More fixes and optimizing for ansistr_concat
|
||||
|
||||
Revision 1.19 1999/04/08 15:57:53 peter
|
||||
|
Loading…
Reference in New Issue
Block a user