Fixing grep -D skip

David Xu davidxu at freebsd.org
Fri Jan 18 02:33:22 UTC 2013


I am trying to fix a bug in GNU grep, the bug is if you
want to skip FIFO file, it will not work, for example:

grep -D skip aaa .

it will be stucked on a FIFO file.

Here is the patch:
http://people.freebsd.org/~davidxu/patch/grep.c.diff2

Is it fine to be committed ?

Regards,
David Xu


More information about the freebsd-hackers mailing list