* 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
This commit is contained in:
parent
9ee4575ea4
commit
93e005d177
@ -1,3 +1,8 @@
|
|||||||
|
Mon Jun 4 00:11:51 2012 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* process.c (rb_proc_exec_e): don't use ISSPACE(). \f, \r and \v
|
||||||
|
are not word separator in Bourne shell.
|
||||||
|
|
||||||
Sun Jun 3 23:47:30 2012 Tanaka Akira <akr@fsij.org>
|
Sun Jun 3 23:47:30 2012 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* include/ruby/intern.h (rb_exec_arg): remove argc and argv fields.
|
* include/ruby/intern.h (rb_exec_arg): remove argc and argv fields.
|
||||||
|
@ -1146,7 +1146,7 @@ rb_proc_exec_e(const char *str, VALUE envp_str)
|
|||||||
static int
|
static int
|
||||||
rb_proc_exec_e(const char *str, VALUE envp_str)
|
rb_proc_exec_e(const char *str, VALUE envp_str)
|
||||||
{
|
{
|
||||||
while (*str && ISSPACE(*str))
|
while (*str == ' ' || *str == '\t' || *str == '\n')
|
||||||
str++;
|
str++;
|
||||||
|
|
||||||
if (!*str) {
|
if (!*str) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user