* process.c (proc_detach, proc_setmaxgroups): missing argument type

declaration. (I recomment ANSI-style function)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2005-08-31 01:40:56 +00:00
parent 8dcf7f931f
commit 76d6f560c9
2 changed files with 10 additions and 7 deletions

View File

@ -1,3 +1,8 @@
Wed Aug 31 10:36:09 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* process.c (proc_detach, proc_setmaxgroups): missing argument type
declaration. (I recomment ANSI-style function)
Wed Aug 31 06:59:01 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> Wed Aug 31 06:59:01 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (rb_str_scan): already String#scan behaves differently * string.c (rb_str_scan): already String#scan behaves differently
@ -16,7 +21,7 @@ Tue Aug 30 23:25:45 2005 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
Tue Aug 30 23:20:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> Tue Aug 30 23:20:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_rescue2): intialization miss. fixed: [ruby-dev:26917] * eval.c (rb_rescue2): initialization miss. fixed: [ruby-dev:26917]
* lib/mkmf.rb (xsystem, xpopen): no longer expand by Config. * lib/mkmf.rb (xsystem, xpopen): no longer expand by Config.

View File

@ -910,8 +910,7 @@ rb_detach_process(pid)
*/ */
static VALUE static VALUE
proc_detach(obj, pid) proc_detach(VALUE obj, VALUE pid)
VALUE pid;
{ {
rb_secure(2); rb_secure(2);
return rb_detach_process(NUM2INT(pid)); return rb_detach_process(NUM2INT(pid));
@ -1437,8 +1436,8 @@ rb_fork(status, chfunc, charg)
* the parent, returning the process ID of the child, and once in * the parent, returning the process ID of the child, and once in
* the child, returning _nil_. The child process can exit using * the child, returning _nil_. The child process can exit using
* <code>Kernel.exit!</code> to avoid running any * <code>Kernel.exit!</code> to avoid running any
* <code>at_exit</code> functions. The parent process should * <code>at_exit</code> functions. The parent process should
* use <code>Process.wait</code> to collect the termination statuses * use <code>Process.wait</code> to collect the termination statuses
* of its children or use <code>Process.detach</code> to register * of its children or use <code>Process.detach</code> to register
* disinterest in their status; otherwise, the operating system * disinterest in their status; otherwise, the operating system
* may accumulate zombie processes. * may accumulate zombie processes.
@ -2790,8 +2789,7 @@ proc_getmaxgroups(obj)
*/ */
static VALUE static VALUE
proc_setmaxgroups(obj, val) proc_setmaxgroups(VALUE obj, VALUE val)
VALUE obj;
{ {
size_t ngroups = FIX2INT(val); size_t ngroups = FIX2INT(val);