* more linuxerror killing

git-svn-id: trunk@4797 -
This commit is contained in:
marco 2003-11-13 13:02:41 +00:00
parent 27a63d2dcb
commit aff3164655

View File

@ -138,7 +138,7 @@ begin
AFilename,{$IFDEF Ver1_0}Linux{$ELSE}BaseUnix{$ENDIF}.X_OK){$IFNDEF Ver1_0}=0){$ENDIF} then
begin
AText:='"'+AFilename+'"';
case LinuxError of
case {$ifdef ver1_0} LinuxError {$else} fpGetErrno {$endif} of
{$IFDEF Ver1_0}sys_eacces{$ELSE}ESysEAcces{$ENDIF}:
AText:='read access denied for '+AText;
{$IFDEF Ver1_0}sys_enoent{$ELSE}ESysENoEnt{$ENDIF}: