diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-04-16 07:42:49 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-04-16 07:42:49 +0000 |
commit | 94a1bece4a4adb5c0f8f09fb9b95356bae24912b (patch) | |
tree | 87c751178430d6471e391108c73d92cf25ad4af9 /ruby.c | |
parent | e0041160736f1c0f092400eb75336311ab10fa1e (diff) |
flock,flatten,signal to main_thread
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -477,9 +477,7 @@ load_file(fname, script) line = io_gets(f); line_start++; - if (RSTRING(line)->len > 2 - && RSTRING(line)->ptr[0] == '!') { - + if (RSTRING(line)->len > 2 && RSTRING(line)->ptr[0] == '!') { if ((p = strstr(RSTRING(line)->ptr, "ruby")) == 0) { /* not ruby script, kick the program */ char **argv; |