6ccb1073e9
- Added glibc-matcher-fallback patch (speedup for [a-z] patterns in UTF-8) - Added mmap-option-fix patch - Added dfa-convert-to-wide-char patch (speedup for -m and remove quadratic complexity when going to glibc) - Added dfa-speedup-digit-xdigit patch (speedup for [[:digit:]] [:xdigit:]])
27 lines
602 B
Diff
27 lines
602 B
Diff
From dfa2891e473abdb5507fff65002f946b60145f44 Mon Sep 17 00:00:00 2001
|
|
From: Paolo Bonzini <bonzini@gnu.org>
|
|
Date: Tue, 20 Apr 2010 12:32:22 +0200
|
|
Subject: [PATCH] grep: fix --mmap not being ignored
|
|
|
|
* NEWS: Document bugfix.
|
|
* main.c (main): Ignore MMAP_OPTION.
|
|
---
|
|
src/main.c | 1 +
|
|
1 files changed, 1 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/src/main.c b/src/main.c
|
|
index 1697c80..0ccf6eb 100644
|
|
--- a/src/main.c
|
|
+++ b/src/main.c
|
|
@@ -2061,6 +2061,7 @@ main (int argc, char **argv)
|
|
label = optarg;
|
|
break;
|
|
|
|
+ case MMAP_OPTION:
|
|
case 0:
|
|
/* long options */
|
|
break;
|
|
--
|
|
1.6.6.1
|
|
|