Actions
Bug #1408
closednice(3) doesn't return new priority
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Salute.
The nice(3) library call returns 0/-1, whereas it should return the new priority
according to POSIX expectations.
I attach a patch to fix this. The nice(1) utility isn't affected in any way
whatsoever, since it doesn't use the nice(3) call. It uses get/setpriority()
directly.
If no one objects, I'll commit it in the next days.
Cheers,
Stathis
Files
Updated by Anonymous over 15 years ago
Fixed with: 3d6d8152830abc76435ecf121790d2cf1e6a2375
Actions