+ Corrected example

This commit is contained in:
michael 2000-07-11 06:19:27 +00:00
parent 4fb6b31739
commit 4d006e2dcb

View File

@ -7,7 +7,7 @@ Uses linux;
Var Info : Stat; Var Info : Stat;
begin begin
if FStat (paramstr(1),info) then if LStat (paramstr(1),info) then
begin begin
if S_ISLNK(info.mode) then if S_ISLNK(info.mode) then
Writeln ('File is a link'); Writeln ('File is a link');