From cd047935e48ec48503e7e24001630cb5536578fb Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 23 Dec 2007 15:39:09 +0000 Subject: enable document of Kernel#system. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'process.c') diff --git a/process.c b/process.c index 4268e33a25..14c8d1b169 100644 --- a/process.c +++ b/process.c @@ -1777,14 +1777,15 @@ rb_spawn(int argc, VALUE *argv) * * */ -#if defined(SIGCLD) && !defined(SIGCHLD) -# define SIGCHLD SIGCLD -#endif - static VALUE rb_f_system(int argc, VALUE *argv) { int status; + +#if defined(SIGCLD) && !defined(SIGCHLD) +# define SIGCHLD SIGCLD +#endif + #ifdef SIGCHLD RETSIGTYPE (*chfunc)(int); -- cgit v1.2.3