commit bash-20200728 snapshot

This commit is contained in:
Chet Ramey
2020-07-31 11:39:31 -04:00
parent e6983002ec
commit 560f608dd5
7 changed files with 122 additions and 32 deletions
-5
View File
@@ -583,15 +583,10 @@ BRACKMATCH (p, test, flags)
isrange = 1;
}
#if 0 /* TAG: bash-5.1 */
if (isrange == 0 && test == cstart)
goto matched;
if (isrange && RANGECMP (test, cstart, forcecoll) >= 0 && RANGECMP (test, cend, forcecoll) <= 0)
goto matched;
#else
if (RANGECMP (test, cstart, forcecoll) >= 0 && RANGECMP (test, cend, forcecoll) <= 0)
goto matched;
#endif
if (c == L(']'))
break;