Ver código fonte

* 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 17 anos atrás
pai
commit
51b230d501
1 arquivos alterados com 1 adições e 1 exclusões
  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}