This reintroduces the fix by Matthias Schmidt for the previous version of
grep. The unmodified Grep 2.7 still displays the same directory errors as
Grep 2.4d.
#define AUTHORS \
proper_name ("Mike Haertel"), \
- _("others, see <http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>")
+ _("others, see\n<http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>")
struct stats
{
if (! fillbuf (save, stats))
{
if (! is_EISDIR (errno, file))
- suppressible_error (filename, errno);
+ {
+ if (errno != EINVAL)
+ suppressible_error (filename, errno);
+ }
return 0;
}