summaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2026-04-17 14:36:26 +0100
committerPádraig Brady <P@draigBrady.com>2026-04-17 16:15:08 +0100
commit3cbe0491bab713e07cf0b1e51f5e3dad2b707215 (patch)
treeccff0f2567c245632eba694a6f86137cd9b26a68 /scripts/git-hooks/commit-msg
parent46f856156f98208335a5287d079c19f5820118b9 (diff)
downloadcoreutils-3cbe0491bab713e07cf0b1e51f5e3dad2b707215.tar.gz
coreutils-3cbe0491bab713e07cf0b1e51f5e3dad2b707215.zip
yes: make operation independent of pipe size
* src/yes.c (splice_write): Always drain what we've written to an internal pipe, so there is no possibility of vmsplice() blocking. I.e., be defensive in the case that fcntl() fails, and our default buffer size (currently 16kiB) is larger than the pipe. https://github.com/coreutils/coreutils/issues/253
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions