mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 10:26:06 +02:00
* Remove reming usage of errno.
git-svn-id: trunk@5981 -
This commit is contained in:
parent
f1067607b6
commit
e47681ab0d
@ -66,7 +66,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
if r=-1 then
|
if r=-1 then
|
||||||
case errno of
|
case socketerror of
|
||||||
EsockEBADF:
|
EsockEBADF:
|
||||||
{ EsysENOTSOCK:} {Why is this constant not defined? (DM)}
|
{ EsysENOTSOCK:} {Why is this constant not defined? (DM)}
|
||||||
inoutres:=6; {Invalid file handle.}
|
inoutres:=6; {Invalid file handle.}
|
||||||
|
Loading…
Reference in New Issue
Block a user