buggrep - Bugs: bug #35169, grep should report EISDIR read...


You are not allowed to post comments on this tracker with your current authentication level.

bug #35169: grep should report EISDIR read errors

Submitted by:  Paul Eggert <eggert>
Submitted on:  Sat 24 Dec 2011 10:40:25 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Wed 29 Feb 2012 05:33:54 PM UTC, comment #1:

This was fixed in the trunk in December 2011, in commit d0be2a62a38726211cd94a06fd7e9aa23a88d07d.

Paul Eggert <eggert>
Project Member
Sat 24 Dec 2011 10:40:25 AM UTC, original submission:

On my Fedora 15 box, "grep x ." does not report an error,
even though (as strace shows) it reads "." and the read fails with errno==EISDIR. It should report an error. I have submitted a proposed patch for this in <http://lists.gnu.org/archive/html/bug-grep/2011-12/msg00036.html>.

This bug was originally reported by Alan Curry in <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10355#26> (for coreutils).

Paul Eggert <eggert>
Project Member


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by eggert (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-02-29 eggert StatusNone => Fixed
    2012-02-29 eggert Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.4