summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-31 13:57:38 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-31 13:57:38 +0000
commit6f8f8959b7da90d56398b033c2c8e0da6f4ade64 (patch)
tree8ffa400bbc52046f9cb30231f43b236ade88c7a6 /process.c
parentea1dc90ae43d1fe68752de2fddb497bbec8b4f86 (diff)
* process.c (p_gid_sw_ensure): return VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4471 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 e85cd84..2cfed92 100644
--- a/process.c
+++ b/process.c
@@ -2192,7 +2192,7 @@ p_gid_sw_ensure(id)
int id;
{
under_gid_switch = 0;
- rb_setegid_core(id);
+ return rb_setegid_core(id);
}
static VALUE
@@ -2236,7 +2236,7 @@ p_gid_sw_ensure(obj)
VALUE obj;
{
under_gid_switch = 0;
- p_gid_exchange(obj);
+ return p_gid_exchange(obj);
}
static VALUE