diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-05 15:36:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-05 15:36:21 +0000 |
commit | eb42d5b15d1b7977182824163a8173874e9416b2 (patch) | |
tree | d31809f32a10f7145932a10a7a0c926e97171e48 /win32/win32.c | |
parent | 87af2dbcb0987687ad4f1accabc7f4923fb92e2a (diff) | |
download | ruby-eb42d5b15d1b7977182824163a8173874e9416b2.tar.gz ruby-eb42d5b15d1b7977182824163a8173874e9416b2.tar.xz ruby-eb42d5b15d1b7977182824163a8173874e9416b2.zip |
* win32/win32.c (isInternalCmd): stupid miss.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 41a2d6aaa..b7827218a 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -552,7 +552,7 @@ isInternalCmd(const char *cmd, const char *interp) char cmdname[9], *b = cmdname, c, **nm; i = strlen(interp) - 11; - if ((i == 0 || i > 0 && isdirsep(interp[i])) && + if ((i == 0 || i > 0 && isdirsep(interp[i-1])) && strcasecmp(interp+i, "command.com") == 0) { nt = 0; } |