* Do not use deprecated stat.mode but stat.st_mode

git-svn-id: trunk@20232 -
This commit is contained in:
joost 2012-02-03 16:39:02 +00:00
parent 8d26b3358f
commit ac1a2abf88

View File

@ -3949,7 +3949,7 @@ begin
if FpStat(Src,FileStat) <> 0 then
Log(vlWarning,SWarnCanNotGetAccessRights,[Src])
else
if FpChmod(s,FileStat.mode) <> 0 then
if FpChmod(s,FileStat.st_mode) <> 0 then
Log(vlWarning,SWarnCanNotSetAccessRights,[S]);
{$endif UNIX}
finally