bug-grep
[Top][All Lists]
Advanced

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

bug#18750: --line-buffered option doesn't work with --files-with-matches


From: Paul Eggert
Subject: bug#18750: --line-buffered option doesn't work with --files-with-matches
Date: Thu, 31 Dec 2015 00:29:46 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

Thanks for the bug report. It also seems to me that --line-buffered should apply to nulls, not newlines, when -z is used. Also, there are a couple of other places where stdout should get flushed after a newline. Perhaps we should use setvbuf instead (is it faster?) when -z is not also used, but right now I just want to get the bug fixed for the next release, so I installed the attached, more-conservative, patch, and am marking this bug as done.

Attachment: 0001-grep-fix-l-line-buffer-bug.patch
Description: Text Data


reply via email to

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