mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 19:09:27 +02:00
--- Merging r35520 into '.':
U packages/fcl-net/src/netdb.pp --- Recording mergeinfo for merge of r35520 into '.': U . # revisions: 35520 git-svn-id: branches/fixes_3_0@36074 -
This commit is contained in:
parent
45a1db6730
commit
c361439bbd
@ -329,12 +329,16 @@ Var
|
|||||||
L : String;
|
L : String;
|
||||||
A : THostAddr;
|
A : THostAddr;
|
||||||
T : PHostListEntry;
|
T : PHostListEntry;
|
||||||
|
B : Array of byte;
|
||||||
|
FS : Int64;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
Result:=Nil;
|
Result:=Nil;
|
||||||
Assign(F,FileName);
|
Assign(F,FileName);
|
||||||
{$push}{$I-}
|
{$push}{$I-}
|
||||||
Reset(F);
|
Reset(F);
|
||||||
|
SetLength(B,65355);
|
||||||
|
SetTextBuf(F,B[0],65355);
|
||||||
{$pop};
|
{$pop};
|
||||||
If (IOResult<>0) then
|
If (IOResult<>0) then
|
||||||
Exit;
|
Exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user