aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-09-19 21:32:51 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-09-19 21:32:51 +0000
commit9ac706b7a6074186eaaafd5a2ecfd84b5ddc80dc (patch)
treea07f85d0a94f0c1a868e93b80115b22846e56601
parentc110b7d61f33169d8aee348801fe32c86fef4c55 (diff)
downloadbusybox-w32-9ac706b7a6074186eaaafd5a2ecfd84b5ddc80dc.tar.gz
busybox-w32-9ac706b7a6074186eaaafd5a2ecfd84b5ddc80dc.tar.bz2
busybox-w32-9ac706b7a6074186eaaafd5a2ecfd84b5ddc80dc.zip
grep: yet another fixlet for EXTRA_COMPAT
-rw-r--r--findutils/grep.c5
1 files changed, 5 insertions, 0 deletions
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)
559 ) { 559 ) {
560 reflags |= REG_EXTENDED; 560 reflags |= REG_EXTENDED;
561 } 561 }
562#if ENABLE_EXTRA_COMPAT
563 else {
564 reflags = RE_SYNTAX_GREP;
565 }
566#endif
562 567
563 if (option_mask32 & OPT_i) { 568 if (option_mask32 & OPT_i) {
564#if !ENABLE_EXTRA_COMPAT 569#if !ENABLE_EXTRA_COMPAT