summaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks
diff options
context:
space:
mode:
authorCollin Funk <collin.funk1@gmail.com>2025-11-08 20:30:08 -0800
committerCollin Funk <collin.funk1@gmail.com>2025-11-09 18:48:34 -0800
commitfc93a44bbe9020cb1a5b03499f5fb2f7512d1551 (patch)
tree8f11aba42ce7aebed7f025c01edbf13ab8e792c3 /scripts/git-hooks
parent56fc0e6f8d4d7cce77fa36a4dd2500b3841645ef (diff)
downloadcoreutils-fc93a44bbe9020cb1a5b03499f5fb2f7512d1551.tar.gz
coreutils-fc93a44bbe9020cb1a5b03499f5fb2f7512d1551.zip
nice: clamp the niceness correctly on GNU/Hurd
* NEWS: Mention the bug fix. * src/nice.c (MIN_ADJUSTMENT): Set to 0 on the Hurd with glibc ≤ 2.42. (MAX_ADJUSTMENT): Set to (2 * NZERO - 2) on the Hurd with glibc ≤ 2.42. (main): Clamp the niceness to be greater or equal to MIN_ADJUSTMENT and less than or equal to MAX_ADJUSTMENT. * tests/nice/nice.sh: Add some tests for the Hurd's ranges.
Diffstat (limited to 'scripts/git-hooks')
0 files changed, 0 insertions, 0 deletions