--- 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:
marco 2017-05-04 11:18:04 +00:00
parent 45a1db6730
commit c361439bbd

View File

@ -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;