mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* process.c (Init_process): enable getpid and getppid on NT.
(ruby-bugs-ja:PR#152) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
73aeda61bc
commit
566eed2dd7
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
Fri Nov 23 03:13:49 2001 Usaku Nakamura <usa@ruby-lang.org>
|
||||
|
||||
* process.c (Init_process): enable getpid and getppid on NT.
|
||||
(ruby-bugs-ja:PR#152)
|
||||
|
||||
Thu Nov 22 00:28:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* parse.y (str_extend): should check nesting parentheses in #{}.
|
||||
|
|
|
|||
|
|
@ -1102,10 +1102,10 @@ Init_process()
|
|||
rb_define_module_function(rb_mProcess, "wait2", proc_wait2, 0);
|
||||
rb_define_module_function(rb_mProcess, "waitpid", proc_waitpid, -1);
|
||||
rb_define_module_function(rb_mProcess, "waitpid2", proc_waitpid2, -1);
|
||||
#endif /* ifndef NT */
|
||||
|
||||
rb_define_module_function(rb_mProcess, "pid", get_pid, 0);
|
||||
rb_define_module_function(rb_mProcess, "ppid", get_ppid, 0);
|
||||
#endif /* ifndef NT */
|
||||
|
||||
rb_define_module_function(rb_mProcess, "getpgrp", proc_getpgrp, -1);
|
||||
rb_define_module_function(rb_mProcess, "setpgrp", proc_setpgrp, -1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue