mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
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.