mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-06-05 01:06:34 +02:00
6203f8f978
The previous commit is not sufficient to fix the race, since I forgot shred now opens with O_NONBLOCK, and so cat may not be even reading by the time shred's open() returns. * tests/shred/fifo.sh: Put more robust synchronization in place along the lines of what we did in commit v9.11-47-ga6ba6a23a, using a separate fifo_writer_ to ensure the cat is reading, before shred runs.