You've already forked lazarus-ccr
RxFPC:fix compile rxfileutils on linux with fpc rev.39644
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6611 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -163,7 +163,7 @@ begin
|
||||
{$ENDIF}
|
||||
{$IFDEF LINUX}
|
||||
if FpStat(FileName, FStat) = 0 then
|
||||
Result:=users.GetUserName(FStat.uid);
|
||||
Result:=users.GetUserName(FStat.st_uid);
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
@ -186,7 +186,7 @@ begin
|
||||
{$ENDIF}
|
||||
{$IFDEF LINUX}
|
||||
FpStat(FileName, SR);
|
||||
UserName:=users.GetUserName(SR.uid);
|
||||
UserName:=users.GetUserName(SR.st_uid);
|
||||
if Pos('\', UserName) > 0 then
|
||||
DomainName:=Copy2SymbDel(UserName, '\') //for unix samba WinBIND
|
||||
else
|
||||
|
Reference in New Issue
Block a user