aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2025-08-03 08:19:53 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2025-08-03 19:48:06 -0700
commite0100ac746e6ddefeef09e17716c148edc1f995b (patch)
tree6017ca72fd3ec4f48bb5cf8bd58874c51e930556 /scripts/git-hooks/commit-msg
parenttail: track errno more accurately (diff)
downloadcoreutils-e0100ac746e6ddefeef09e17716c148edc1f995b.tar.gz
coreutils-e0100ac746e6ddefeef09e17716c148edc1f995b.zip
tail: fix race between read and fstat
* src/tail.c (get_file_status): Remove, since after the changes described below it would be called in just one place and it’s a bit clearer to inline by hand. (tail_file): Don’t call fstat after reading the file, as that misses changes arriving between read and fstat. Instead, reuse the fstat done before reading the file.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions