1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 1999-10-18 09:03:16 +00:00
parent 40a3f601e4
commit 125ca1a11a
11 changed files with 65 additions and 31 deletions

2
ruby.c
View file

@ -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;