summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 15:39:09 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 15:39:09 +0000
commitcd047935e48ec48503e7e24001630cb5536578fb (patch)
tree7762c13dc7da7b6ad7097bb1a9101f73a6984f70 /process.c
parente615f0ec428777b29846da515763fe6ccbac9f13 (diff)
enable document of Kernel#system.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c9
1 files changed, 5 insertions, 4 deletions
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);