From 9ac706b7a6074186eaaafd5a2ecfd84b5ddc80dc Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 19 Sep 2008 21:32:51 +0000 Subject: grep: yet another fixlet for EXTRA_COMPAT --- findutils/grep.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/findutils/grep.c b/findutils/grep.c index e0f01c9c2..9d38ef912 100644 --- a/findutils/grep.c +++ b/findutils/grep.c @@ -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 -- cgit v1.2.3