Project

General

Profile

Actions

Bug #1408

closed

nice(3) doesn't return new priority

Added by Anonymous almost 15 years ago. Updated almost 15 years ago.

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

nice.diff (421 Bytes) nice.diff Anonymous, 06/23/2009 12:30 PM
Actions #1

Updated by Anonymous almost 15 years ago

Fixed with: 3d6d8152830abc76435ecf121790d2cf1e6a2375

Actions

Also available in: Atom PDF