[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grep --directories option
From: |
Alain Magloire |
Subject: |
Re: Grep --directories option |
Date: |
Tue, 3 Jun 2003 14:57:09 -0400 (EDT) |
>
> [1] grep 2.5 introduced a bug, which effectively changed the code
>
> if (! fillbuf (save, stats))
> if (! (is_EISDIR (errno, file) && suppress_errors))
> error (filename, errno);
>
> to
>
> if (! fillbuf (save, stats))
> if (! is_EISDIR (errno, file) && ! suppress_errors)
> error (filename, errno);
>
> This is real bug, if there is a problem reading dir contents.
> If no serious error occurs, this only suppresses the "Is a directory"
> messages.
>
Where is that code, out of curiousity I've downloaded 2.5 and 2.5.1
and could not file this code:
> if (! is_EISDIR (errno, file) && ! suppress_errors)