Blob Blame History Raw
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