Przeglądaj źródła

+ Corrected example

michael 25 lat temu
rodzic
commit
4d006e2dcb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      docs/linuxex/ex53.pp

+ 1 - 1
docs/linuxex/ex53.pp

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