Bug 583895

Summary: --mmap not ignored properly
Product: [Fedora] Fedora Reporter: Tomasz Torcz <tomek>
Component: grepAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: fedora-bugs, jskarvad, lkundrak
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-08 09:27:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch none

Description Tomasz Torcz 2010-04-20 07:14:06 UTC
Description of problem:
"--mmap" option is alleged to be ignored since March 2010. But it seems it isn't:

% grep --mmap MeaningOfLife /dev/urandom 
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
% grep MeaningOfLife /dev/urandom 
%

Version-Release number of selected component (if applicable):
grep-2.6.3-1.fc13.x86_64. I've replicated this issue with self-compiled upstream sources, but couldn't find upstream Bugzilla.

How reproducible:
Always.

Steps to Reproduce:
1. use "--mmap" switch in grep
  
Actual results:
Triggers something like wrong parameter usage.

Expected results:
Ignoring --mmap

Comment 1 Jaroslav Škarvada 2010-04-20 07:51:20 UTC
Confirmed and forwarded to upstream.

Comment 2 Paolo Bonzini 2010-04-20 11:01:37 UTC
Created attachment 407788 [details]
patch

Comment 3 Jaroslav Škarvada 2010-04-21 08:02:21 UTC
(In reply to comment #2)
> Created an attachment (id=407788) [details]
> patch    

Thank you for patch.

Comment 4 Jaroslav Škarvada 2010-08-05 07:06:47 UTC
*** Bug 621353 has been marked as a duplicate of this bug. ***