1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* process.c (rlimit_resource_value): use NUM2RLIM.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-03-22 17:53:07 +00:00
parent 6e383d9fa2
commit 30d2565b4e
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sun Mar 23 02:51:57 2008 Tanaka Akira <akr@fsij.org>
* process.c (rlimit_resource_value): use NUM2RLIM.
Sun Mar 23 02:28:01 2008 Tadayoshi Funaba <tadf@dotrb.org>
* complex.c: fixed. [ruby-dev:34109]

View file

@ -2213,7 +2213,7 @@ rlimit_resource_value(VALUE rval)
case T_FIXNUM:
case T_BIGNUM:
return NUM2INT(rval);
return NUM2RLIM(rval);
}
#ifdef RLIM_INFINITY