fix grep's -C option
SVN-Revision: 4857
This commit is contained in:
parent
647d1dd920
commit
bd784a4782
1 changed files with 12 additions and 0 deletions
12
openwrt/package/busybox/patches/230-grep_C.patch
Normal file
12
openwrt/package/busybox/patches/230-grep_C.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -Nur busybox-1.2.1/findutils/grep.c busybox-1.2.1/findutils/grep.c
|
||||
--- busybox-1.2.1/findutils/grep.c 2006-09-25 14:47:51.000000000 -0700
|
||||
+++ busybox-1.2.1/findutils/grep.c 2006-09-25 14:39:39.000000000 -0700
|
||||
@@ -51,7 +51,7 @@
|
||||
#define GREP_OPT_L (1<<12)
|
||||
#define PRINT_FILES_WITHOUT_MATCHES ((opt & GREP_OPT_L) != 0)
|
||||
#if ENABLE_FEATURE_GREP_CONTEXT
|
||||
-#define GREP_OPT_CONTEXT "A:B:C"
|
||||
+#define GREP_OPT_CONTEXT "A:B:C:"
|
||||
#define GREP_OPT_A (1<<13)
|
||||
#define GREP_OPT_B (1<<14)
|
||||
#define GREP_OPT_C (1<<15)
|
Loading…
Reference in a new issue