summaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-31 12:55:50 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-31 12:55:50 +0000
commit13872c8da1653ba564cee10de639f7cec643f8da (patch)
tree3444be0820126123728a189dc0a199c53f9ddce7 /process.c
parent044283fb5b829c30e72c2ed802d101823b1dbdc1 (diff)
downloadruby-13872c8da1653ba564cee10de639f7cec643f8da.tar.gz
ruby-13872c8da1653ba564cee10de639f7cec643f8da.tar.xz
ruby-13872c8da1653ba564cee10de639f7cec643f8da.zip
fix typos.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/process.c b/process.c
index 14c8d1b16..01f97fca3 100644
--- a/process.c
+++ b/process.c
@@ -1346,7 +1346,7 @@ proc_syswait(VALUE pid)
* process exits with +EXIT_SUCCESS+ when it returned zero.
*
* In the case of the function is called and returns non-zero value,
- * the child process exits with non-+EXIT_SUCCESS+ value (normaly
+ * the child process exits with non-+EXIT_SUCCESS+ value (normally
* 127). And, on the platforms where +FD_CLOEXEC+ is available,
* +errno+ is propagated to the parent process, and this function
* returns -1 in the parent process. On the other platforms, just
@@ -1916,7 +1916,7 @@ proc_setpgrp(void)
rb_secure(2);
/* check for posix setpgid() first; this matches the posix */
/* getpgrp() above. It appears that configure will set SETPGRP_VOID */
- /* even though setpgrp(0,0) would be prefered. The posix call avoids */
+ /* even though setpgrp(0,0) would be preferred. The posix call avoids */
/* this confusion. */
#ifdef HAVE_SETPGID
if (setpgid(0,0) < 0) rb_sys_fail(0);