commit | 9ac706b7a6074186eaaafd5a2ecfd84b5ddc80dc | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Fri Sep 19 21:32:51 2008 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Fri Sep 19 21:32:51 2008 +0000 |
tree | a07f85d0a94f0c1a868e93b80115b22846e56601 | |
parent | c110b7d61f33169d8aee348801fe32c86fef4c55 [diff] [blame] |
grep: yet another fixlet for EXTRA_COMPAT
diff --git a/findutils/grep.c b/findutils/grep.c index e0f01c9..9d38ef9 100644 --- a/findutils/grep.c +++ b/findutils/grep.c
@@ -559,6 +559,11 @@ ) { reflags |= REG_EXTENDED; } +#if ENABLE_EXTRA_COMPAT + else { + reflags = RE_SYNTAX_GREP; + } +#endif if (option_mask32 & OPT_i) { #if !ENABLE_EXTRA_COMPAT