summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-12 02:32:18 +0000
committerryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-12 02:32:18 +0000
commitfcf621653a32b46c84bea15c3f4036a4e11c6cd8 (patch)
treeee0a3d032193069149cd4155b00c15703ca3b3c1 /process.c
parent7110e696e0dc6e8d4c5c619d03cfaf6e94c4d2ea (diff)
Fixed [UG]ID::eid=. Fixes bug # 10370
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/process.c b/process.c
index 3aaf689621..5a351facfa 100644
--- a/process.c
+++ b/process.c
@@ -3669,8 +3669,8 @@ Init_process()
rb_define_module_function(rb_mProcGID, "change_privilege", p_gid_change_privilege, 1);
rb_define_module_function(rb_mProcUID, "grant_privilege", p_uid_grant_privilege, 1);
rb_define_module_function(rb_mProcGID, "grant_privilege", p_gid_grant_privilege, 1);
- rb_define_alias(rb_mProcUID, "eid=", "grant_privilege");
- rb_define_alias(rb_mProcGID, "eid=", "grant_privilege");
+ rb_define_alias(rb_singleton_class(rb_mProcUID), "eid=", "grant_privilege");
+ rb_define_alias(rb_singleton_class(rb_mProcGID), "eid=", "grant_privilege");
rb_define_module_function(rb_mProcUID, "re_exchange", p_uid_exchange, 0);
rb_define_module_function(rb_mProcGID, "re_exchange", p_gid_exchange, 0);
rb_define_module_function(rb_mProcUID, "re_exchangeable?", p_uid_exchangeable, 0);