]> git.ipfire.org Git - thirdparty/coreutils.git/commit
shred: don't block when opening FIFOs with no readers
authorCollin Funk <collin.funk1@gmail.com>
Sat, 9 May 2026 22:43:39 +0000 (15:43 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Sun, 10 May 2026 20:45:44 +0000 (13:45 -0700)
commitf77f365ef5c93614f42db4f087d67a3f7aae276a
tree8a98973db8993ff363a0f6e33726307512322454
parentab18e90e8b5ebada31a4134c7868ff0c8467f445
shred: don't block when opening FIFOs with no readers

* NEWS: Mention the bug fix.
* src/shred.c (wipefile): Open the file with O_NONBLOCK.
* tests/shred/fifo.sh: New file.
* tests/local.mk (all_tests): Add the new test.
NEWS
src/shred.c
tests/local.mk
tests/shred/fifo.sh [new file with mode: 0755]