mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
grep: yet another fixlet for EXTRA_COMPAT
This commit is contained in:
parent
c110b7d61f
commit
9ac706b7a6
@ -559,6 +559,11 @@ int grep_main(int argc, char **argv)
|
||||
) {
|
||||
reflags |= REG_EXTENDED;
|
||||
}
|
||||
#if ENABLE_EXTRA_COMPAT
|
||||
else {
|
||||
reflags = RE_SYNTAX_GREP;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (option_mask32 & OPT_i) {
|
||||
#if !ENABLE_EXTRA_COMPAT
|
||||
|
Loading…
Reference in New Issue
Block a user