summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-05 03:28:53 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-05 03:28:53 +0000
commit2cf2d7ee20d614ff9aa1689dcf093fe6ddde6d2b (patch)
tree42e46d55de27b9d1d8dd299ac8ebbbe5c651aec5 /process.c
parent8fada42082d4a0f3584324060d7f4b023a0e95dd (diff)
* process.c (has_privilege): Fix assignements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/process.c b/process.c
index ee112d4..22783b7 100644
--- a/process.c
+++ b/process.c
@@ -3312,8 +3312,8 @@ has_privilege(void)
}
#else
{
- rb_uid_t ruid = getuid();
- rb_uid_t euid = geteuid();
+ ruid = getuid();
+ euid = geteuid();
}
#endif
@@ -3332,8 +3332,8 @@ has_privilege(void)
}
#else
{
- rb_gid_t rgid = getgid();
- rb_gid_t egid = getegid();
+ rgid = getgid();
+ egid = getegid();
}
#endif