ruby-cvs:22816
From: akr ruby-lang.org
Date: Sat, 23 Feb 2008 01:12:35 +0900 (JST)
Subject: [ruby-cvs:22816] Ruby:r15579 (trunk): * process.c (rlimit_resource_type): new function.
akr 2008-02-23 01:12:32 +0900 (Sat, 23 Feb 2008)
New Revision: 15579
Modified files:
trunk/ChangeLog
trunk/process.c
trunk/test/ruby/test_process.rb
Log:
* process.c (rlimit_resource_type): new function.
(rlimit_resource_value): new function.
(proc_getrlimit): use rlimit_resource_type to accept
symbol and string as resource type.
(proc_setrlimit): use rlimit_resource_type and rlimit_resource_value
to accept symbol and string as resource type and values.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_process.rb?r1=15579&r2=15578&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15579&r2=15578&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/process.c?r1=15579&r2=15578&diff_format=u