Kaynağa Gözat

+ Corrected example

michael 25 yıl önce
ebeveyn
işleme
4d006e2dcb
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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');