Explorar el Código

+ Corrected example

michael hace 25 años
padre
commit
4d006e2dcb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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');