projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c110b7d
)
grep: yet another fixlet for EXTRA_COMPAT
author
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 19 Sep 2008 21:32:51 +0000
(21:32 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 19 Sep 2008 21:32:51 +0000
(21:32 -0000)
findutils/grep.c
patch
|
blob
|
history
diff --git
a/findutils/grep.c
b/findutils/grep.c
index e0f01c9c23beac2f0bb019c8a1492563b3ec505d..9d38ef9128e29bdb5641a7a1b1baba8834bd75f3 100644
(file)
--- 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