bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25283: grep: (standard input): invalid argument when run from make


From: Paul Eggert
Subject: bug#25283: grep: (standard input): invalid argument when run from make
Date: Tue, 27 Dec 2016 11:23:32 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

Thanks for reporting that problem. I wonder why GNU 'make' sets stdout to append mode? That surprises me, and I don't see where POSIX allows it. Anyway, it's clearly a bug in 'grep' no matter what 'make' is doing. I wrote up a test case for the bug and installed the attached, which is a bit more conservative than the patch you submitted.

Attachment: 0001-grep-fix-bug-with-.-grep-pat-dev-null.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]