mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
19991018
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
40a3f601e4
commit
125ca1a11a
11 changed files with 65 additions and 31 deletions
2
ruby.c
2
ruby.c
|
@ -655,6 +655,7 @@ load_file(fname, script)
|
|||
while (p < pend && ISSPACE(*p))
|
||||
p++;
|
||||
path = p; /* interpreter path */
|
||||
#ifndef USE_CWGUSI
|
||||
while (p < pend && !ISSPACE(*p))
|
||||
p++;
|
||||
*p++ = '\0';
|
||||
|
@ -667,7 +668,6 @@ load_file(fname, script)
|
|||
argv = origargv;
|
||||
}
|
||||
argv[0] = path;
|
||||
#ifndef USE_CWGUSI
|
||||
execv(path, argv);
|
||||
#endif
|
||||
ruby_sourcefile = fname;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue