This adds a syscall, which sounds like both a performance loss and a correctness
issue, as it introduces a race if the file system is being modified while we
grep. Is there some way to simplify out_file without adding a syscall or a race?
- bug#29124: [PATCH] grep: simplify out_file handling Zev Weiss
- bug#29124: [PATCH] grep: simplify out_file handling Paul Eggert