You've already forked linux-packaging-mono
Imported Upstream version 6.6.0.89
Former-commit-id: b39a328747c2f3414dc52e009fb6f0aa80ca2492
This commit is contained in:
parent
cf815e07e0
commit
95fdb59ea6
@@ -1 +1 @@
|
||||
e28929ff29e77677e6a485008deaa2ea8b573660
|
||||
7d8ca92f4a478adc0358c7abf5f4069725fea2cc
|
||||
@@ -1 +1 @@
|
||||
a919644f85d6bc2807949463b1c8b703d5f58717
|
||||
6cc67dda4b894bb3ef0dffdc49ae8e816665c012
|
||||
@@ -325,8 +325,8 @@ namespace Mono.Unix {
|
||||
|
||||
public virtual void SetOwner (long owner, long group)
|
||||
{
|
||||
uint _owner = Convert.ToUInt32 (owner);
|
||||
uint _group = Convert.ToUInt32 (group);
|
||||
int _owner = Convert.ToInt32 (owner);
|
||||
int _group = Convert.ToInt32 (group);
|
||||
int r = Native.Syscall.chown (FullPath, _owner, _group);
|
||||
UnixMarshal.ThrowExceptionForLastErrorIf (r);
|
||||
}
|
||||
|
||||
@@ -356,7 +356,7 @@ namespace Mono.Unix {
|
||||
AssertNotDisposed ();
|
||||
|
||||
int r = Native.Syscall.fchown (fileDescriptor,
|
||||
Convert.ToUInt32 (user), Convert.ToUInt32 (group));
|
||||
Convert.ToInt32 (user), Convert.ToInt32 (group));
|
||||
UnixMarshal.ThrowExceptionForLastErrorIf (r);
|
||||
}
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace Mono.Unix {
|
||||
|
||||
public override void SetOwner (long owner, long group)
|
||||
{
|
||||
int r = Native.Syscall.lchown (FullPath, Convert.ToUInt32 (owner), Convert.ToUInt32 (group));
|
||||
int r = Native.Syscall.lchown (FullPath, Convert.ToInt32 (owner), Convert.ToInt32 (group));
|
||||
UnixMarshal.ThrowExceptionForLastErrorIf (r);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user