From 26cf2ce752d7ee4c62225c5034e5a3e6eaa8f495 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 21 Oct 1999 07:58:14 +0000 Subject: #! option git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ruby.c') diff --git a/ruby.c b/ruby.c index 0fa3cb528..45c15bdc9 100644 --- a/ruby.c +++ b/ruby.c @@ -729,6 +729,7 @@ load_file(fname, script) if (RSTRING(line)->ptr[RSTRING(line)->len-2] == '\r') RSTRING(line)->ptr[RSTRING(line)->len-2] = '\0'; if (p = strstr(p, " -")) { + p++; /* skip space before `-' */ while (*p == '-') { p = moreswitches(p+1); } -- cgit