Explorar el Código

* one more change from FileSize (F) to E.Size, although it's in not yet adapted BEOS section

git-svn-id: trunk@9808 -
Tomas Hajny hace 17 años
padre
commit
51b230d501
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      rtl/inc/exeinfo.pp

+ 1 - 1
rtl/inc/exeinfo.pp

@@ -872,7 +872,7 @@ begin
   stabofs:=-1;
   stabstrofs:=-1;
   { read and check header }
-  if filesize(f)<sizeof(telf32header) then
+  if E.Size<sizeof(telf32header) then
    exit;
   blockread(f,elfheader,sizeof(telf32header));
 {$ifdef ENDIAN_LITTLE}