1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* win32/win32.c (isInternalCmd): shouldn't return if find end of str.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2003-08-01 06:54:28 +00:00
parent c07f1bf06e
commit f3999874e4
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Fri Aug 1 15:53:24 2003 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (isInternalCmd): shouldn't return if find end of str.
Fri Aug 1 13:45:14 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (rb_call_super): propagate previous block if a block is

View file

@ -526,7 +526,7 @@ isInternalCmd(const char *cmd)
while (isalpha(c)) {
*b++ = tolower(c);
if (b == cmdname + sizeof(cmdname)) return 0;
if (!(c = *cmd++)) return 0;
c = *cmd++;
}
if (c == '.') c = *cmd;
switch (c) {