diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-03 15:13:54 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-03 15:13:54 +0000 |
commit | 93e005d177bfbf82d7b8b8c3eedc0993f698edd6 (patch) | |
tree | d0667497fff1a8745f69b6f93546bdbfcf6d14eb /process.c | |
parent | 9ee4575ea418992d3a03eb7065d31159bb51fb72 (diff) |
* process.c (rb_proc_exec_e): don't use ISSPACE(). \f, \r and \v
are not word separator in Bourne shell.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1146,7 +1146,7 @@ rb_proc_exec_e(const char *str, VALUE envp_str) static int rb_proc_exec_e(const char *str, VALUE envp_str) { - while (*str && ISSPACE(*str)) + while (*str == ' ' || *str == '\t' || *str == '\n') str++; if (!*str) { |