Bug 583895 - --mmap not ignored properly
Summary: --mmap not ignored properly
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: grep
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 621353 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-20 07:14 UTC by Tomasz Torcz
Modified: 2010-08-05 07:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-08 09:27:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch (1.09 KB, patch)
2010-04-20 11:01 UTC, Paolo Bonzini
no flags Details | Diff

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. ***


Note You need to log in before you can comment on or make changes to this bug.