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 | 84c1720e956730b15f4355168053d8b2af3d8b91 (patch) | |
tree | bbcc9a42ddc12f6f55482e27b7dbee3bc2efa67a /package | |
parent | 6c2f8db6672a83561439bc42ddfefdf84f6164a3 (diff) | |
download | upstream-84c1720e956730b15f4355168053d8b2af3d8b91.tar.gz upstream-84c1720e956730b15f4355168053d8b2af3d8b91.tar.bz2 upstream-84c1720e956730b15f4355168053d8b2af3d8b91.zip |
fix grep's -C option
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4857 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/busybox/patches/230-grep_C.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/patches/230-grep_C.patch b/package/busybox/patches/230-grep_C.patch new file mode 100644 index 0000000000..08d76738b3 --- /dev/null +++ b/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) |