DragonFly bugs List (threaded) for 2009-06
DragonFly BSD
DragonFly bugs List (threaded) for 2009-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue1408] nice(3) doesn't return new priority


From: "Stathis Kamperis \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Jun 2009 12:30:11 +0000

New submission from Stathis Kamperis <ekamperi@gmail.com>:

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

----------
assignedto: Beket
files: nice.diff
messages: 6775
nosy: Beket
priority: bug
status: unread
title: nice(3) doesn't return new priority

_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1408>
_____________________________________________________

Attachment: nice.diff
Description: Binary data



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]