mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-05 22:47:09 +01:00
* Replaced strpcopy() by its equivalent. With sysutils in uses clause, strpcopy resolves to ansistring version, inserting a redundant conversion to ansistring.
git-svn-id: trunk@24360 -
This commit is contained in:
parent
70649932de
commit
8e6d6d0027
@ -1891,7 +1891,8 @@ implementation
|
|||||||
typ:=ait_string;
|
typ:=ait_string;
|
||||||
len:=length(_str);
|
len:=length(_str);
|
||||||
getmem(str,len+1);
|
getmem(str,len+1);
|
||||||
strpcopy(str,_str);
|
move(_str[1],str^,len);
|
||||||
|
str[len]:=#0;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user