diff options
author | Mike Baker <mbm@openwrt.org> | 2006-09-25 21:51:22 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2006-09-25 21:51:22 +0000 |
commit | bd784a4782e124fc995878ec824d4315e71a9f33 (patch) | |
tree | 5784091b8266d7d6d9944617a1538bf678ee8677 /openwrt | |
parent | 647d1dd920011ed75e69b01b42af85459b263b80 (diff) | |
download | mtk-20170518-bd784a4782e124fc995878ec824d4315e71a9f33.zip mtk-20170518-bd784a4782e124fc995878ec824d4315e71a9f33.tar.gz mtk-20170518-bd784a4782e124fc995878ec824d4315e71a9f33.tar.bz2 |
fix grep's -C option
SVN-Revision: 4857
Diffstat (limited to 'openwrt')
-rw-r--r-- | openwrt/package/busybox/patches/230-grep_C.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/busybox/patches/230-grep_C.patch b/openwrt/package/busybox/patches/230-grep_C.patch new file mode 100644 index 0000000..08d7673 --- /dev/null +++ b/openwrt/package/busybox/patches/230-grep_C.patch @@ -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) |