mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* process.c (proc_geteuid): fix strange cast. [ruby-dev:31417]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c8c6ab229a
commit
686535d403
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Aug 15 13:39:25 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* process.c (proc_geteuid): fix strange cast. [ruby-dev:31417]
|
||||
|
||||
Wed Aug 15 01:05:55 2007 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* bootstraptest/runner.rb (assert_check): don't call newtest.
|
||||
|
|
|
@ -3067,7 +3067,7 @@ static VALUE
|
|||
proc_geteuid(VALUE obj)
|
||||
{
|
||||
rb_uid_t euid = geteuid();
|
||||
return NUM2UIDT(euid);
|
||||
return UIDT2NUM(euid);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue