mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 15:59:30 +02:00
amunits: Read()ing to a PChar is no longer supported, because it's unsafe
git-svn-id: trunk@27576 -
This commit is contained in:
parent
826c77831b
commit
fabdebf9c6
@ -759,9 +759,9 @@ begin
|
||||
{ I don't want end of lines here (for use with amiga listviews)
|
||||
just change this if you need newline characters.
|
||||
}
|
||||
Read(Inf, buffer);
|
||||
Read(Inf, buf);
|
||||
tempnode := AddNewNode(thelist,buffer);
|
||||
Readln(inf, buffer);
|
||||
Readln(inf, buf);
|
||||
end;
|
||||
CLose(Inf);
|
||||
FileToList := true;
|
||||
|
Loading…
Reference in New Issue
Block a user