Explorar o 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 %!s(int64=17) %!d(string=hai) anos
pai
achega
51b230d501
Modificáronse 1 ficheiros con 1 adicións e 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}