diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-23 15:39:09 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-23 15:39:09 +0000 |
commit | 4a2f7f70d1fe1933540afa4ced0f86cfa841c78a (patch) | |
tree | 7762c13dc7da7b6ad7097bb1a9101f73a6984f70 | |
parent | c99093176119c10f3850796b65b0338101248409 (diff) | |
download | ruby-4a2f7f70d1fe1933540afa4ced0f86cfa841c78a.tar.gz ruby-4a2f7f70d1fe1933540afa4ced0f86cfa841c78a.tar.xz ruby-4a2f7f70d1fe1933540afa4ced0f86cfa841c78a.zip |
enable document of Kernel#system.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | process.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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); |