Blame grep-2.6.3-mmap-option-fix.patch
|
Jaroslav Škarvada |
6ccb10 |
From dfa2891e473abdb5507fff65002f946b60145f44 Mon Sep 17 00:00:00 2001
|
|
Jaroslav Škarvada |
6ccb10 |
From: Paolo Bonzini <bonzini@gnu.org>
|
|
Jaroslav Škarvada |
6ccb10 |
Date: Tue, 20 Apr 2010 12:32:22 +0200
|
|
Jaroslav Škarvada |
6ccb10 |
Subject: [PATCH] grep: fix --mmap not being ignored
|
|
Jaroslav Škarvada |
6ccb10 |
|
|
Jaroslav Škarvada |
6ccb10 |
* NEWS: Document bugfix.
|
|
Jaroslav Škarvada |
6ccb10 |
* main.c (main): Ignore MMAP_OPTION.
|
|
Jaroslav Škarvada |
6ccb10 |
---
|
|
Jaroslav Škarvada |
6ccb10 |
src/main.c | 1 +
|
|
Jaroslav Škarvada |
6ccb10 |
1 files changed, 1 insertions(+), 0 deletions(-)
|
|
Jaroslav Škarvada |
6ccb10 |
|
|
Jaroslav Škarvada |
6ccb10 |
diff --git a/src/main.c b/src/main.c
|
|
Jaroslav Škarvada |
6ccb10 |
index 1697c80..0ccf6eb 100644
|
|
Jaroslav Škarvada |
6ccb10 |
--- a/src/main.c
|
|
Jaroslav Škarvada |
6ccb10 |
+++ b/src/main.c
|
|
Jaroslav Škarvada |
6ccb10 |
@@ -2061,6 +2061,7 @@ main (int argc, char **argv)
|
|
Jaroslav Škarvada |
6ccb10 |
label = optarg;
|
|
Jaroslav Škarvada |
6ccb10 |
break;
|
|
Jaroslav Škarvada |
6ccb10 |
|
|
Jaroslav Škarvada |
6ccb10 |
+ case MMAP_OPTION:
|
|
Jaroslav Škarvada |
6ccb10 |
case 0:
|
|
Jaroslav Škarvada |
6ccb10 |
/* long options */
|
|
Jaroslav Škarvada |
6ccb10 |
break;
|
|
Jaroslav Škarvada |
6ccb10 |
--
|
|
Jaroslav Škarvada |
6ccb10 |
1.6.6.1
|
|
Jaroslav Škarvada |
6ccb10 |
|