Collin Funk fc93a44bbe 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.
2025-11-09 18:48:34 -08:00
..
2025-08-19 11:41:17 -07:00
2025-03-23 12:01:18 -07:00
2025-08-12 17:50:40 +01:00
2025-01-15 17:07:19 +00:00
2025-08-12 17:50:40 +01:00
2025-06-20 12:15:27 -07:00