[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grep --directories option
From: |
Alfred M. Szmidt |
Subject: |
Re: Grep --directories option |
Date: |
Fri, 30 May 2003 14:08:49 +0200 |
The code is equivalent to this:
if (! fillbuf (save, stats))
if (! is_EISDIR (errno, file) && ! suppress_errors)
error (filename, errno);
This indeed is a bug as it ignores all errors related to reading dirs.
If there is a disk error while reading dir on GNU/Hurd, the error
is not reported.
What about adding an check when trying to open the file/directory?
For example, check if one can read a directory, if one can continue as
normal, if not report the error that was recived.
- Re: Grep --directories option, (continued)
- Re: Grep --directories option, Paul Eggert, 2003/05/30
- Re: Grep --directories option, Alfred M. Szmidt, 2003/05/31
- Re: Grep --directories option, Marcus Brinkmann, 2003/05/31
- Re: Grep --directories option, James Morrison, 2003/05/30
- Re: Grep --directories option, Paul Jarc, 2003/05/30
Re: Grep --directories option, Stepan Kasal, 2003/05/30
- Re: Grep --directories option,
Alfred M. Szmidt <=