diff options
| author | Collin Funk <collin.funk1@gmail.com> | 2025-11-08 20:30:08 -0800 |
|---|---|---|
| committer | Collin Funk <collin.funk1@gmail.com> | 2025-11-09 18:48:34 -0800 |
| commit | fc93a44bbe9020cb1a5b03499f5fb2f7512d1551 (patch) | |
| tree | 8f11aba42ce7aebed7f025c01edbf13ab8e792c3 /scripts/git-hooks | |
| parent | 56fc0e6f8d4d7cce77fa36a4dd2500b3841645ef (diff) | |
| download | coreutils-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
