summaryrefslogtreecommitdiff
path: root/lib/glob/sm_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/glob/sm_loop.c')
-rw-r--r--lib/glob/sm_loop.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/glob/sm_loop.c b/lib/glob/sm_loop.c
index 2c29ff18..a98c14bd 100644
--- a/lib/glob/sm_loop.c
+++ b/lib/glob/sm_loop.c
@@ -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;