[Top][All Lists]

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

bug#29124: [PATCH] grep: simplify out_file handling

From: Paul Eggert
Subject: bug#29124: [PATCH] grep: simplify out_file handling
Date: Tue, 5 Nov 2019 15:06:10 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 11/4/17 2:00 PM, Zev Weiss wrote:

OK, how about the attached patch then -- it both avoids updating out_file during directory recursion (simpler, and perhaps a tiny performance win) and doesn't add any syscalls or races.

Thanks, I (finally) installed that cleanup patch, and followed it up with two more simplifying patches. The combined change looks like the attached.

Attachment: grep.diff
Description: Text Data

reply via email to

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