summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-19 03:10:21 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-19 03:10:21 +0000
commitedb98f8b910b00be16868b21116924cffad785b9 (patch)
treeeb98e40557395aa10c68c9bba496b62ff11a9369 /process.c
parent67964f299b671c9b29257c7a62000bfbadb4c556 (diff)
fix typos. Patch by k_takata.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 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 afb2885c15..66e910af71 100644
--- a/process.c
+++ b/process.c
@@ -2118,7 +2118,7 @@ rb_exec_fillarg(VALUE prog, int argc, VALUE *argv, VALUE env, VALUE opthash, VAL
has_meta = 1;
}
if (!has_meta) {
- /* avoid shell since no shell meta charactor found. */
+ /* avoid shell since no shell meta character found. */
eargp->use_shell = 0;
}
if (!eargp->use_shell) {
@@ -2346,7 +2346,7 @@ static int rb_exec_without_timer_thread(const struct rb_execarg *eargp, char *er
* If _commandline_ is simple enough,
* no meta characters, no shell reserved word and no special built-in,
* Ruby invokes the command directly without shell.
- * You can force shell invocation by adding ";" for _commandline_ (because ";" is a meta characetr).
+ * You can force shell invocation by adding ";" for _commandline_ (because ";" is a meta character).
* Note that this behavior is observable by pid obtained
* (return value of spawn() and IO#pid for IO.popen) is the pid of the invoked command, not shell.
*