mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 08:43:07 +02:00
* Do not use deprecated stat.mode but stat.st_mode
git-svn-id: trunk@20232 -
This commit is contained in:
parent
8d26b3358f
commit
ac1a2abf88
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user